diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-07 09:24:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-07 09:24:32 +0000 |
commit | 722fe0f6dcc0bffc1353458e4544ffccb623415f (patch) | |
tree | 268272070223c6045997e0757b5e48cbd1865d80 | |
parent | 1603ba437ca5edaa7be24785245e348fc90944ca (diff) | |
download | pkgsrc-722fe0f6dcc0bffc1353458e4544ffccb623415f.tar.gz |
DESTDIR support.
-rw-r--r-- | audio/mad123/Makefile | 8 | ||||
-rw-r--r-- | audio/taglib/Makefile | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/audio/mad123/Makefile b/audio/mad123/Makefile index a19cded232a..89c94f91c3a 100644 --- a/audio/mad123/Makefile +++ b/audio/mad123/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/03/09 21:04:40 jlam Exp $ +# $NetBSD: Makefile,v 1.21 2006/11/07 09:24:32 joerg Exp $ # DISTNAME= mad123-0.8.5 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mctavish.co.uk/mad123/ COMMENT= Command-line MPEG audio player +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.mad123 @@ -38,8 +40,8 @@ MAKE_FLAGS+= USE_SUN=yes INSTALLATION_DIRS= bin man/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${PREFIX}/bin/mad123 - ${INSTALL_MAN} ${WRKSRC}/mad123.1 ${PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/mad123 ${DESTDIR}${PREFIX}/bin/mad123 + ${INSTALL_MAN} ${WRKSRC}/mad123.1 ${DESTDIR}${PREFIX}/man/man1/ .include "../../audio/taglib/buildlink3.mk" .include "../../audio/libmad/buildlink3.mk" diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile index b256453f511..c1146389804 100644 --- a/audio/taglib/Makefile +++ b/audio/taglib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/09/23 13:26:24 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2006/11/07 09:24:32 joerg Exp $ # DISTNAME= taglib-1.4 @@ -10,6 +10,8 @@ MAINTAINER= chris@NetBSD.org HOMEPAGE= http://ktown.kde.org/~wheeler/taglib/ COMMENT= Library for accessing id tags in mp3 and ogg files +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ GNU_CONFIGURE= YES @@ -19,8 +21,7 @@ pre-build: ${CP} ${FILESDIR}/id3lib_strings.h ${WRKSRC}/taglib/toolkit/. post-install: - ${INSTALL} -c -o ${ROOT_USER} -g ${ROOT_GROUP} -m 444 \ - ${FILESDIR}/id3lib_strings.h ${PREFIX}/include/taglib/. + ${INSTALL_DATA} ${FILESDIR}/id3lib_strings.h ${DESTDIR}${PREFIX}/include/taglib/. .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |