mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
ab1149b320
- Add NO_ARCH - Switch to options helpers - Regenerate patches with `make makepatch`
37 lines
802 B
Makefile
37 lines
802 B
Makefile
# Created by: Ernst de Haan <znerd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xinclude-task
|
|
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= ${JAVALIBDIR}/xincluder.jar:textproc/xincluder
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
USE_ANT= yes
|
|
NO_ARCH= yes
|
|
|
|
ALL_TARGET= jar apidocs
|
|
PORTDOCS= *
|
|
MAKE_ENV= CLASSPATH=${JAVALIBDIR}/xincluder.jar
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${JAVAJARDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
|
|
|
|
do-install-DOCS-on:
|
|
cd ${WRKSRC}/build/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|