summaryrefslogtreecommitdiff
path: root/audio/gogo
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/gogo
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-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/Makefile10
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"