diff options
-rw-r--r-- | audio/libmusicbrainz/Makefile | 14 | ||||
-rw-r--r-- | audio/mppenc/Makefile | 8 |
2 files changed, 8 insertions, 14 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" diff --git a/audio/mppenc/Makefile b/audio/mppenc/Makefile index 95b6dfa595d..d5b25eafab9 100644 --- a/audio/mppenc/Makefile +++ b/audio/mppenc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/01/25 19:34:22 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2008/01/04 20:17:47 markd Exp $ # DISTNAME= mppenc-1.16 @@ -10,10 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.musepack.net/ COMMENT= Musepack encoder -BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake +PKG_DESTDIR_SUPPORT= user-destdir -do-configure: - (cd ${WRKSRC} && ${LOCALBASE}/bin/cmake \ - -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX}) +USE_CMAKE= yes .include "../../mk/bsd.pkg.mk" |