aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-09-01 16:41:19 +0800
committerijliao <ijliao@FreeBSD.org>2004-09-01 16:41:19 +0800
commit2066dc48f00aa4c54252de648053b182819fc674 (patch)
treea08411a1dbd8b48e3f54600ddd1fdbd2ce363bd9 /deskutils
parente44a829b259ec2b17c28f4f6aaddbb4ad8481804 (diff)
downloadfreebsd-ports-gnome-2066dc48f00aa4c54252de648053b182819fc674.tar.gz
freebsd-ports-gnome-2066dc48f00aa4c54252de648053b182819fc674.tar.zst
freebsd-ports-gnome-2066dc48f00aa4c54252de648053b182819fc674.zip
utilize USE_ANT
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/ganttproject/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/deskutils/ganttproject/Makefile b/deskutils/ganttproject/Makefile
index bb82990ad243..31e02581ee8f 100644
--- a/deskutils/ganttproject/Makefile
+++ b/deskutils/ganttproject/Makefile
@@ -16,24 +16,17 @@ EXTRACT_SUFX= -src.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Plan projects using a Gantt chart
-BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant
-
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
-JAVA_BUILD= yes
+USE_ANT= yes
JAVA_RUN= yes
-ANT_CMD?= ${LOCALBASE}/bin/ant
-ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
PLIST_FILES= bin/ganttproject %%JAVAJARDIR%%/ganttproject.jar
post-patch:
@${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},' ${FILESDIR}/${PORTNAME} > ${WRKSRC}/${PORTNAME}
-do-build:
- @cd ${WRKSRC} && ${ANT}
-
do-install:
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin