freebsd-ports/textproc/ant-xinclude-task/Makefile

34 lines
780 B
Makefile
Raw Normal View History

# Created by: Ernst de Haan <znerd@FreeBSD.org>
# $FreeBSD$
PORTNAME= xinclude-task
2003-09-25 10:11:01 +02:00
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= textproc java
MASTER_SITES= http://people.freebsd.org/~znerd/xinclude-task/
PKGNAMEPREFIX= ant-
MAINTAINER= ports@FreeBSD.org
COMMENT= XInclude task for Jakarta Ant
BUILD_DEPENDS= ${JAVAJARDIR}/xincluder.jar:${PORTSDIR}/textproc/xincluder
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
2004-06-09 05:10:54 +02:00
OPTIONS_DEFINE= DOCS
ALL_TARGET= jar apidocs
PORTDOCS= *
MAKE_ENV= CLASSPATH=${JAVAJARDIR}/xincluder.jar
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
do-install:
@${MKDIR} ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
cd ${WRKSRC}/build/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>