diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/gogo | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/gogo')
-rw-r--r-- | audio/gogo/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/gogo/Makefile b/audio/gogo/Makefile index d8df9de816b..eeda9c79b00 100644 --- a/audio/gogo/Makefile +++ b/audio/gogo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/05/19 16:18:52 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:32 jlam Exp $ # DISTNAME= gogo239b @@ -16,6 +16,8 @@ BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm ONLY_FOR_PLATFORM= *-*-i386 +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake RESTRICTED= Source based on patent protected Fraunhofer code @@ -34,8 +36,8 @@ MAKE_FLAGS+= ASFLAGS="-f elf -D__unix__ ${E3DN}" INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gogo - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/gogo + ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gogo + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/gogo .include "../../mk/bsd.pkg.mk" |