From b5039a1a4c787f67dc3f15e83575b6e33b1f05cf Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 01:50:26 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- chat/epic4-doc/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'chat/epic4-doc') 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" -- cgit v1.2.3