aboutsummaryrefslogtreecommitdiff
path: root/textproc/xincluder
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-10-24 11:33:29 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-10-24 11:33:29 +0000
commit132ea9ba8bbb4434438bc6bce109422a4f5a0129 (patch)
tree5a01b9e20b166c147dbecd021427b30360c37db3 /textproc/xincluder
parent074208a91297b977e2cafdd47ce93a12d9428bac (diff)
downloadports-132ea9ba8bbb4434438bc6bce109422a4f5a0129.tar.gz
ports-132ea9ba8bbb4434438bc6bce109422a4f5a0129.zip
Notes
Diffstat (limited to 'textproc/xincluder')
-rw-r--r--textproc/xincluder/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/textproc/xincluder/Makefile b/textproc/xincluder/Makefile
index 715e6bf68fd3..717e50a9d11a 100644
--- a/textproc/xincluder/Makefile
+++ b/textproc/xincluder/Makefile
@@ -7,20 +7,30 @@
PORTNAME= xincluder
PORTVERSION= 1.0.d10
+PORTREVISION= 1
CATEGORIES= textproc java
MASTER_SITES= ftp://ftp.ibiblio.org/pub/languages/java/javafaq/
DISTNAME= ${PORTNAME}
MAINTAINER= znerd@FreeBSD.org
-NO_BUILD= YES
+BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/jakarta-ant
USE_JAVA= 1.2+
+ANT?= ${LOCALBASE}/bin/ant
+.if defined(NOPORTDOCS)
+ANT_TARGET= jar
+.else
+ANT_TARGET= jar javadoc
+.endif
JAVASHAREDIR= ${PREFIX}/share/java
JARDIR= ${JAVASHAREDIR}/classes
WRKSRC= ${WRKDIR}/XInclude
+do-build:
+ @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
+
do-install:
@${ECHO} -n ">> Installing JAR as ${JARDIR}/${PORTNAME}.jar..."
@${CP} ${WRKSRC}/${PORTNAME}.jar ${JARDIR}/