2012-12-10 14:43:43 +01:00
|
|
|
# Created by: Ernst de Haan <znerd@FreeBSD.org>
|
2002-10-18 17:02:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xinclude-task
|
2003-09-25 10:11:01 +02:00
|
|
|
PORTVERSION= 0.2
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 2
|
2002-10-18 17:02:57 +02:00
|
|
|
CATEGORIES= textproc java
|
|
|
|
MASTER_SITES= http://people.freebsd.org/~znerd/xinclude-task/
|
|
|
|
PKGNAMEPREFIX= ant-
|
|
|
|
|
2004-12-03 02:01:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= XInclude task for Jakarta Ant
|
2002-10-18 17:02:57 +02:00
|
|
|
|
2004-08-25 17:36:57 +02:00
|
|
|
BUILD_DEPENDS= ${JAVAJARDIR}/xincluder.jar:${PORTSDIR}/textproc/xincluder
|
2002-10-18 17:02:57 +02:00
|
|
|
|
2004-08-25 17:36:57 +02:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:43:43 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2004-08-25 17:36:57 +02:00
|
|
|
USE_ANT= yes
|
2004-06-09 05:10:54 +02:00
|
|
|
|
2014-01-25 23:03:15 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
ALL_TARGET= jar apidocs
|
2004-04-20 21:35:58 +02:00
|
|
|
PORTDOCS= *
|
2014-01-25 23:03:15 +01:00
|
|
|
MAKE_ENV= CLASSPATH=${JAVAJARDIR}/xincluder.jar
|
2002-10-18 17:02:57 +02:00
|
|
|
|
2014-01-25 23:03:15 +01:00
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
2002-10-18 17:02:57 +02:00
|
|
|
|
|
|
|
do-install:
|
2004-08-25 17:36:57 +02:00
|
|
|
@${MKDIR} ${JAVAJARDIR}
|
2014-01-25 23:03:15 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
|
|
|
|
cd ${WRKSRC}/build/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2002-10-18 17:02:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|