summaryrefslogtreecommitdiff
path: root/emulators/cygwin_esound
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/cygwin_esound
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/cygwin_esound')
-rw-r--r--emulators/cygwin_esound/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/emulators/cygwin_esound/Makefile b/emulators/cygwin_esound/Makefile
index 2569e98b345..8ab5628aaf2 100644
--- a/emulators/cygwin_esound/Makefile
+++ b/emulators/cygwin_esound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/04/04 14:37:52 tv Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 19:21:37 jlam Exp $
#
DISTNAME= esound-0.2.35-1
@@ -18,6 +18,8 @@ COMMENT= Enlightened sound daemon (daemon only) for Cygwin/Interix
ONLY_FOR_PLATFORM= Interix-*-*
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= cygwin
WRKSRC= ${WRKDIR}
@@ -27,9 +29,12 @@ INSTALLATION_DIRS= bin emul/cygwin/bin
do-build: # nothing
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe ${PREFIX}/emul/cygwin/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygaudiofile-0.dll \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/cygesd-0.dll \
+ ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/esd.exe \
+ ${DESTDIR}${PREFIX}/emul/cygwin/bin/
.include "../../emulators/cygwin_lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"