aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-connector-java50/Makefile
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-05-10 06:32:01 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-05-10 06:32:01 +0000
commit904cf211e3f00308d400e5ea853e4c28302731d9 (patch)
treeff600bb2af923a8210e09a87d3bf590f8b18815e /databases/mysql-connector-java50/Makefile
parent02a1e62287842be79a2bb7ea485263639edf1353 (diff)
downloadports-904cf211e3f00308d400e5ea853e4c28302731d9.tar.gz
ports-904cf211e3f00308d400e5ea853e4c28302731d9.zip
Notes
Diffstat (limited to 'databases/mysql-connector-java50/Makefile')
-rw-r--r--databases/mysql-connector-java50/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/databases/mysql-connector-java50/Makefile b/databases/mysql-connector-java50/Makefile
index f3e9974e75db..f16541b2e60c 100644
--- a/databases/mysql-connector-java50/Makefile
+++ b/databases/mysql-connector-java50/Makefile
@@ -26,16 +26,13 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-stable
MAINTAINER= m.seaman@infracaninophile.co.uk
COMMENT= MySQL Connector/J: JDBC interface for MySQL
-PLIST_FILES= share/java/classes/jdbc2_0-stdext.jar \
- share/java/classes/jta-spec1_0_1.jar \
- share/java/classes/mysql-connector-java.jar
-
.if !defined(WITHOUT_COMPILE)
BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant \
${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit
-USE_JAVA= 1.4+
-NEED_JAVAC= YES
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+JAVA_BUILD= yes
ANT_CMD?= ${LOCALBASE}/bin/ant
ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
@@ -44,7 +41,9 @@ BUILDDIR= ${WRKDIR}/build-mysql-jdbc/${DISTNAME}
.else
-USE_JAVA= 1.2+
+USE_JAVA= yes
+JAVA_VERSION= 1.2+
+JAVA_RUN= yes
BUILDDIR= ${WRKDIR}/${DISTNAME}
.endif
@@ -56,6 +55,10 @@ EXTRADOCS= README CHANGES
JARFILE= ${DISTNAME}-bin.jar
JDCLASSPATH= ${WRKSRC}:${WRKSRC}/lib/jdbc2_0-stdext.jar:${WRKSRC}/lib/jta-spec1_0_1.jar:${CLASSPATH}
+PLIST_FILES= share/java/classes/jdbc2_0-stdext.jar \
+ share/java/classes/jta-spec1_0_1.jar \
+ share/java/classes/mysql-connector-java.jar
+
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif