diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /time/cardboard-schedule/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'time/cardboard-schedule/Makefile')
-rw-r--r-- | time/cardboard-schedule/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/time/cardboard-schedule/Makefile b/time/cardboard-schedule/Makefile index 8fff68a0032..9dcee7842d2 100644 --- a/time/cardboard-schedule/Makefile +++ b/time/cardboard-schedule/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/05/26 02:13:24 joerg Exp $ +# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:38 joerg Exp $ # DISTNAME= cs113ins @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://cardboard.nu/docs/software.html COMMENT= Project and resource management software implemented in Java/Swing +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= yes RESTRICTED= License prohibits redistribution on CDROM @@ -35,7 +37,7 @@ CSFILES= cs/images/Logo2.gif \ stage/license.txt \ stage/CsHelp.jar -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin lib/cardboard-schedule SUBST_CLASSES+= cs SUBST_STAGE.cs= do-configure @@ -49,9 +51,8 @@ post-extract: ${CP} ${FILESDIR:Q}/csched.sh ${WRKDIR:Q} do-install: - ${INSTALL_DATA_DIR} ${PREFIX:Q}/lib/cardboard-schedule - cd ${WRKDIR:Q}/C:/projects && pax -rw ${CSFILES} ${PREFIX:Q}/lib/cardboard-schedule - ${INSTALL_SCRIPT} ${WRKDIR:Q}/csched.sh ${PREFIX:Q}/bin/csched + cd ${WRKDIR}/C:/projects && pax -rw ${CSFILES} ${DESTDIR}${PREFIX}/lib/cardboard-schedule + ${INSTALL_SCRIPT} ${WRKDIR:Q}/csched.sh ${DESTDIR}${PREFIX}/bin/csched .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |