freebsd-ports/devel/jakarta-commons-jxpath/Makefile
Pawel Pekala 566d8aa901 - Add staging support
- Define DOCS option
2014-03-31 15:11:19 +00:00

30 lines
785 B
Makefile

# Created by: Nemo Liu <nemoliu@FreeBSD.org>
# $FreeBSD$
PORTNAME= commons-jxpath
PORTVERSION= 1.3
CATEGORIES= devel www java
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_BINARIES}
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for manipulating Java Beans using the XPath syntax
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
(cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/apidocs && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>