28a42395cb
was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket)
35 lines
830 B
Makefile
35 lines
830 B
Makefile
# Created by: Dave Glowacki <dglo@ssec.wisc.edu> #
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jakarta-regexp
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= APACHE_JAKARTA/regexp/binaries
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Regular expressions for Java
|
|
|
|
BROKEN_armv6= fails to build: build.xml: Java returned: 1
|
|
|
|
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>
|