aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql-connector-java50
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-05-10 14:32:01 +0800
committerlinimon <linimon@FreeBSD.org>2004-05-10 14:32:01 +0800
commitee02e4e99657fffd72ea3cd127b25ff5ddd15847 (patch)
tree1daa9180037227104bf3f373f60d7be7f9857a9a /databases/mysql-connector-java50
parent86bb720ee1aa05ddfeb919c6b82a7df6cb97df9a (diff)
downloadfreebsd-ports-gnome-ee02e4e99657fffd72ea3cd127b25ff5ddd15847.tar.gz
freebsd-ports-gnome-ee02e4e99657fffd72ea3cd127b25ff5ddd15847.tar.zst
freebsd-ports-gnome-ee02e4e99657fffd72ea3cd127b25ff5ddd15847.zip
Update to the latest bsd.java.mk style.
Move PLIST_FILES to later in the Makefile for consistencies' sake. PR: ports/66111 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Diffstat (limited to 'databases/mysql-connector-java50')
-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