diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
commit | 960171aa995ba9a28a5c49a383750d43281cbc4f (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /chat/epic4-doc | |
parent | b98d5450b595b15bf04433f737a91ddd33d9dfae (diff) | |
download | pkgsrc-960171aa995ba9a28a5c49a383750d43281cbc4f.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'chat/epic4-doc')
-rw-r--r-- | chat/epic4-doc/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chat/epic4-doc/Makefile b/chat/epic4-doc/Makefile index cc0c7386ae7..a0962da166e 100644 --- a/chat/epic4-doc/Makefile +++ b/chat/epic4-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/12/01 23:46:04 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 02:19:51 jlam Exp $ # DISTNAME= epic4-help-20050315 @@ -20,15 +20,17 @@ COMMENT= Additional documentation for epic4 package DEPENDS+= epic4>=2.0:../../chat/epic4 +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= YES INSTALLATION_DIRS= share/epic/help do-install: - ${CP} -R ${WRKDIR}/help/* ${PREFIX}/share/epic/help - ${RM} -r ${PREFIX}/share/epic/help/Makefile - ${RM} -r ${PREFIX}/share/epic/help/CVS - ${RM} -r ${PREFIX}/share/epic/help/*/CVS - ${RM} -r ${PREFIX}/share/epic/help/*/*/CVS + ${CP} -R ${WRKDIR}/help/* ${DESTDIR}${PREFIX}/share/epic/help + ${RM} -r ${DESTDIR}${PREFIX}/share/epic/help/Makefile + ${RM} -r ${DESTDIR}${PREFIX}/share/epic/help/CVS + ${RM} -r ${DESTDIR}${PREFIX}/share/epic/help/*/CVS + ${RM} -r ${DESTDIR}${PREFIX}/share/epic/help/*/*/CVS .include "../../mk/bsd.pkg.mk" |