aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-09-01 08:41:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-09-01 08:41:19 +0000
commitee872fe9c280a61819ff9879dbbf6f0585bf9207 (patch)
tree082fc2cb4e8bf06826ce40f39ce3bdc3ff439833 /deskutils
parente35efe7cdf02c7d821a72bd8bf60acba6a1bd430 (diff)
downloadports-ee872fe9c280a61819ff9879dbbf6f0585bf9207.tar.gz
ports-ee872fe9c280a61819ff9879dbbf6f0585bf9207.zip
utilize USE_ANT
Notes
Notes: svn path=/head/; revision=117816
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