4e24a1e8dc
- Convert to new options framework - USE_ANT, ALL_TARGET, MAKE_ARGS instead of custom do-build target - Use PLIST_FILES and not generated plist file
34 lines
805 B
Makefile
34 lines
805 B
Makefile
# Created by: Dave Glowacki <dglo@ssec.wisc.edu> #
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jakarta-regexp
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
|
MASTER_SITE_SUBDIR= regexp/binaries
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Regular expressions for Java
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
USE_ANT= yes
|
|
ALL_TARGET= test package
|
|
MAKE_ARGS= -Djakarta-site.dir=${WRKSRC}
|
|
|
|
JAVALIBNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs/api && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|