summaryrefslogtreecommitdiff
path: root/audio/csound4-manual
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/csound4-manual
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/csound4-manual')
-rw-r--r--audio/csound4-manual/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/csound4-manual/Makefile b/audio/csound4-manual/Makefile
index 4f28f474b91..2da704c903e 100644
--- a/audio/csound4-manual/Makefile
+++ b/audio/csound4-manual/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/06/03 22:04:42 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/02 06:10:31 jlam Exp $
#
DISTNAME= manual-html-4.23
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.csounds.com/
COMMENT= Csound4 Reference Manual
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
@@ -17,11 +19,12 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= share/doc/csound4 share/examples
do-install:
- cd ${WRKSRC}/csound-4.23/manual \
- && ${PAX} -rw -s '|.*/CVS/.*||' -s ',.*/CVS$$,,' * ${PREFIX}/share/doc/csound4
+ cd ${WRKSRC}/csound-4.23/manual && \
+ ${PAX} -rw -s '|.*/CVS/.*||' -s ',.*/CVS$$,,' * \
+ ${DESTDIR}${PREFIX}/share/doc/csound4
cd ${FILESDIR} && ${INSTALL_DATA} rt-midi-input.* \
- ${PREFIX}/share/doc/csound4/examples
+ ${DESTDIR}${PREFIX}/share/doc/csound4/examples
${LN} -s ../../share/doc/csound4/examples \
- ${PREFIX}/share/examples/csound4
+ ${DESTDIR}${PREFIX}/share/examples/csound4
.include "../../mk/bsd.pkg.mk"