From 8987a9e04cc60fe08956d2b69c4c8ab9151d20f4 Mon Sep 17 00:00:00 2001 From: znerd Date: Thu, 24 Oct 2002 11:33:29 +0000 Subject: Building from source now. Bumped PORTREVISION. --- textproc/xincluder/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'textproc/xincluder') diff --git a/textproc/xincluder/Makefile b/textproc/xincluder/Makefile index 715e6bf..717e50a 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}/ -- cgit v1.1