1 # $NetBSD: Makefile,v 1.30 2012/12/17 11:10:42 obache Exp $
7 MASTER_SITES
= http
://cloud.github.com
/downloads
/taglib
/taglib
/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://taglib.github.com
/
11 COMMENT
= Library for accessing id
tags in various media files
12 LICENSE
= gnu-lgpl-v2.1 OR mpl-1.1
17 CMAKE_ARGS
= -DWITH_MP4
=ON
-DWITH_ASF
=ON
20 PKGCONFIG_OVERRIDE
= bindings
/c
/taglib_c.
pc.cmake taglib.
pc.cmake
21 REPLACE_SH
= taglib-config.cmake
24 SUBST_FILES.
pc= taglib-config.cmake
25 SUBST_STAGE.
pc= pre-configure
26 SUBST_SED.
pc= -e
's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g'
27 SUBST_MESSAGE.
pc= Fixing rpath in taglib-config.
29 .
include "../../mk/compiler.mk"
31 # depends on builtin functions which enabled with i486 and later with GCC.
33 .if
${OPSYS} == "NetBSD" && !empty
(CC_VERSION
:M
[4-9]*) && !empty
(MACHINE_ARCH
:Mi386
)
38 .
include "../../devel/zlib/buildlink3.mk"
39 .
include "../../mk/bsd.pkg.mk"