summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjlam <jlam>2002-12-31 15:44:28 +0000
committerjlam <jlam>2002-12-31 15:44:28 +0000
commit84fdb8438654f92ab5f1718431e7929abd0688d2 (patch)
tree1ef868ddcd84455baaf1012ecf326c0dc1e79d18 /time
parente869dda50cc5a295613c9d92d6937ba8b8df31b4 (diff)
downloadpkgsrc-84fdb8438654f92ab5f1718431e7929abd0688d2.tar.gz
Mechanical conversion to use java-vm.mk.
Diffstat (limited to 'time')
-rw-r--r--time/cardboard-schedule/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/time/cardboard-schedule/Makefile b/time/cardboard-schedule/Makefile
index 04134cf962f..54d777d651f 100644
--- a/time/cardboard-schedule/Makefile
+++ b/time/cardboard-schedule/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/10/10 01:01:11 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2002/12/31 15:44:29 jlam Exp $
#
DISTNAME= cs113ins
@@ -11,7 +11,6 @@ MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://cardboard.nu/download.shtml
COMMENT= project and resource management software implemented in Java/Swing
-USE_JAVA= yes
USE_X11BASE= yes
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= swing-[0-9]*:../../x11/swing
@@ -31,18 +30,17 @@ CSFILES= cs/images/Logo2.gif \
stage/CsHelp.jar
post-extract:
- (cd ${WRKDIR} && unzip -x InstallerData/Installer.zip) || ${TRUE}
+ (cd ${WRKDIR} && unzip -x InstallerData/Installer.zip) || ${TRUE}
-post-build:
- ${SED} -e s,@PREFIX@,${PREFIX},g < ${FILESDIR}/csched.sh > ${WRKDIR}/csched.tmp
- ${SED} -e s,@LOCALBASE@,${LOCALBASE},g < ${WRKDIR}/csched.tmp > ${WRKDIR}/csched.tmp2
- ${SED} -e s,@JAVA_HOME@,${PKG_JAVA_HOME},g < ${WRKDIR}/csched.tmp2 > ${WRKDIR}/csched
+do-build:
+ ${SED} -e s,@PREFIX@,${PREFIX},g < ${FILESDIR}/csched.sh > ${WRKDIR}/csched.tmp
+ ${SED} -e s,@LOCALBASE@,${LOCALBASE},g < ${WRKDIR}/csched.tmp > ${WRKDIR}/csched.tmp2
+ ${SED} -e s,@JAVA_HOME@,${PKG_JAVA_HOME},g < ${WRKDIR}/csched.tmp2 > ${WRKDIR}/csched
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/cardboard-schedule
- @(cd ${WRKDIR}/C:/projects && ${GTAR} cf - ${CSFILES} | (cd ${PREFIX}/lib/cardboard-schedule && ${GTAR} xvf -))
- ${INSTALL_SCRIPT} ${WRKDIR}/csched ${PREFIX}/bin
-
-do-build:
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/cardboard-schedule
+ @(cd ${WRKDIR}/C:/projects && ${GTAR} cf - ${CSFILES} | (cd ${PREFIX}/lib/cardboard-schedule && ${GTAR} xvf -))
+ ${INSTALL_SCRIPT} ${WRKDIR}/csched ${PREFIX}/bin
+.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"