aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-commons-dbcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/jakarta-commons-dbcp/Makefile')
-rw-r--r--java/jakarta-commons-dbcp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/jakarta-commons-dbcp/Makefile b/java/jakarta-commons-dbcp/Makefile
index 6f08557c006c..cf5cdc47b6a1 100644
--- a/java/jakarta-commons-dbcp/Makefile
+++ b/java/jakarta-commons-dbcp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= commons-dbcp
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= java
MASTER_SITES= http://www.apache.org/dist/jakarta/commons/dbcp/source/
PKGNAMEPREFIX= jakarta-
@@ -21,13 +21,13 @@ BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant \
USE_JAVA= 1.2+
-WRKSRC= ${WRKDIR}/${DISTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
ANT?= ${LOCALBASE}/bin/ant
.if defined(NOPORTDOCS)
-ANT_TARGET= dist-jar
+ANT_TARGET= build-jar
.else
-ANT_TARGET= dist-jar doc
+ANT_TARGET= build-jar javadoc
.endif
JAVASHAREDIR= ${PREFIX}/share/java
JARDIR= ${JAVASHAREDIR}/classes