1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/java/jakarta-commons-pool/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: Jakarta Commons Pool
# Date created: October 6, 2003
# Whom: Anton Yudin <toha@toha.org.ua>
#
# $FreeBSD$
#
PORTNAME= commons-pool
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_APACHE_COMMONS_SOURCE}
MASTER_SITE_SUBDIR= ${PORTNAME:S,commons-,,}
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= toha@toha.org.ua
COMMENT= Jakarta Object-pooling API
USE_JAVA= yes
JAVA_VERSION= 1.3+
USE_ANT= yes
MAKE_ENV+= ANT_INCLUDE_SHARED_JARS=YES
.if defined(NOPORTDOCS)
ALL_TARGET= build-jar
.else
ALL_TARGET= build-jar javadoc
PORTDOCS= *
.endif
JARFILE= ${PORTNAME}-${PORTVERSION}.jar
DESTJARFILE= ${PORTNAME}.jar
PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
@${INSTALL_DATA} ${WRKSRC}/dist/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${WRKSRC}/dist/docs/api \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif
.include <bsd.port.mk>