View | Details | Raw Unified | Return to bug 65617
Collapse All | Expand All

(-)/usr/ports/java/jakarta-commons-dbcp/Makefile (-3 / +5 lines)
Lines 8-14 Link Here
8
PORTNAME=	commons-dbcp
8
PORTNAME=	commons-dbcp
9
PORTVERSION=	1.1
9
PORTVERSION=	1.1
10
CATEGORIES=	java
10
CATEGORIES=	java
11
MASTER_SITES=	http://www.apache.org/dist/jakarta/commons/dbcp/source/
11
MASTER_SITES=	${MASTER_SITE_APACHE_JAKARTA}
12
MASTER_SITE_SUBDIR=	commons/dbcp/source
12
PKGNAMEPREFIX=	jakarta-
13
PKGNAMEPREFIX=	jakarta-
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
14
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
14
DIST_SUBDIR=	jakarta
15
DIST_SUBDIR=	jakarta
Lines 19-28 Link Here
19
BUILD_DEPENDS=	${ANT}:${PORTSDIR}/devel/apache-ant \
20
BUILD_DEPENDS=	${ANT}:${PORTSDIR}/devel/apache-ant \
20
		${JAVAJARDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool
21
		${JAVAJARDIR}/commons-pool.jar:${PORTSDIR}/java/jakarta-commons-pool
21
22
22
USE_JAVA=	1.2+
23
USE_JAVA=	yes
24
JAVA_VERSION=	1.4+
23
25
24
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
26
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
25
PLIST_SUB+=	T=${TARGET_DIR:S/^${PREFIX}\///}
26
ANT?=		${LOCALBASE}/bin/ant
27
ANT?=		${LOCALBASE}/bin/ant
27
.if defined(NOPORTDOCS)
28
.if defined(NOPORTDOCS)
28
ANT_TARGET=	build-jar
29
ANT_TARGET=	build-jar
Lines 34-39 Link Here
34
JARDIR=		${JAVASHAREDIR}/classes
35
JARDIR=		${JAVASHAREDIR}/classes
35
JARFILE=	${PORTNAME}.jar
36
JARFILE=	${PORTNAME}.jar
36
DESTJARFILE=	${PORTNAME}.jar
37
DESTJARFILE=	${PORTNAME}.jar
38
PLIST_FILES+=	${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE}
37
39
38
post-patch:
40
post-patch:
39
	@${CP} ${WRKSRC}/LICENSE.txt ${WRKSRC}/../LICENSE
41
	@${CP} ${WRKSRC}/LICENSE.txt ${WRKSRC}/../LICENSE
(-)/usr/ports/java/jakarta-commons-dbcp/pkg-plist (-1 lines)
Line 1 Link Here
1
share/java/classes/commons-dbcp.jar

Return to bug 65617