aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-10-24 19:33:29 +0800
committerznerd <znerd@FreeBSD.org>2002-10-24 19:33:29 +0800
commit8987a9e04cc60fe08956d2b69c4c8ab9151d20f4 (patch)
treedc384b2ee94f4b59eb90cbf8a4a0d4eefdf849e3 /textproc
parentdb02d72ed1df246aa11941c71e090e72b390ac26 (diff)
downloadfreebsd-ports-gnome-8987a9e04cc60fe08956d2b69c4c8ab9151d20f4.tar.gz
freebsd-ports-gnome-8987a9e04cc60fe08956d2b69c4c8ab9151d20f4.tar.zst
freebsd-ports-gnome-8987a9e04cc60fe08956d2b69c4c8ab9151d20f4.zip
Building from source now. Bumped PORTREVISION.
Diffstat (limited to 'textproc')
-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}/