1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/java/jakarta-oro/Makefile
Pawel Pekala aa4e33bcb6 - Add staging support
- Convert to new options framework
- USE_ANT, ALL_TARGET instead of custom do-build target
- Use PLIST_FILES and not generated plist file
2014-05-31 11:08:34 +00:00

33 lines
746 B
Makefile

# Created by: Dave Glowacki <dglo@ssec.wisc.edu>
# $FreeBSD$
PORTNAME= jakarta-oro
PORTVERSION= 2.0.8
PORTREVISION= 2
CATEGORIES= java
MASTER_SITES= http://archive.apache.org/dist/jakarta/oro/
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl/awk/sh regular expressions for Java
USE_JAVA= yes
USE_ANT= yes
JAVA_VERSION= 1.6+
ALL_TARGET= jar javadocs
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>