diff options
Diffstat (limited to 'audio/libmusicbrainz')
-rw-r--r-- | audio/libmusicbrainz/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/audio/libmusicbrainz/Makefile b/audio/libmusicbrainz/Makefile index 47ee65c8acc..294b6d53b84 100644 --- a/audio/libmusicbrainz/Makefile +++ b/audio/libmusicbrainz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/06/08 07:02:15 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2008/01/04 20:10:10 markd Exp $ DISTNAME= libmusicbrainz-3.0.0 CATEGORIES= audio @@ -8,20 +8,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://musicbrainz.org/doc/libmusicbrainz COMMENT= MusicBrainz (user-maintained community music metadatabase) library +PKG_DESTDIR_SUPPORT= user-destdir + +USE_CMAKE= yes USE_LANGUAGES= c c++ PKGCONFIG_OVERRIDE= libmusicbrainz3.pc.cmake -do-configure: - cd ${WRKSRC} && cmake . -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX:Q} \ - -DNEON_INCLUDE_DIR:PATH=${PREFIX:Q}/include/neon \ - -DCMAKE_INSTALL_RPATH:STRING=${PREFIX:Q}/lib \ - -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \ - -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ - -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON +CMAKE_ARGS+= -DNEON_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.neon}/include/neon # XXX: should be a dependency, but doesn't work on enough platforms #.include "../../audio/libdiscid/buildlink3.mk" -.include "../../devel/cmake/buildlink3.mk" BUILDLINK_API_DEPENDS.neon+= neon>=0.25.0 .include "../../www/neon/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |