diff options
author | pav <pav@FreeBSD.org> | 2004-02-08 04:43:25 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-08 04:43:25 +0800 |
commit | d8da0a4c23d91901a9c721e473b1cc6cbe5d9896 (patch) | |
tree | 4ed897317c984999df5f22133a4af812614442a8 /databases/mysql-connector-java | |
parent | fb11ff4478e045753dd37fff461f2e4fd3b71f3c (diff) | |
download | freebsd-ports-gnome-d8da0a4c23d91901a9c721e473b1cc6cbe5d9896.tar.gz freebsd-ports-gnome-d8da0a4c23d91901a9c721e473b1cc6cbe5d9896.tar.zst freebsd-ports-gnome-d8da0a4c23d91901a9c721e473b1cc6cbe5d9896.zip |
- Add SIZE
- Use PLIST_FILES
- Set JAVA_HOME to ant environment
- ECHO -> ECHO_MSG
PR: ports/62472
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r-- | databases/mysql-connector-java/Makefile | 25 | ||||
-rw-r--r-- | databases/mysql-connector-java/distinfo | 1 | ||||
-rw-r--r-- | databases/mysql-connector-java/pkg-plist | 3 |
3 files changed, 16 insertions, 13 deletions
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile index 467e35504958..795145f6849f 100644 --- a/databases/mysql-connector-java/Makefile +++ b/databases/mysql-connector-java/Makefile @@ -26,14 +26,19 @@ 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}:${PORTSDIR}/devel/apache-ant \ +BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant \ ${LOCALBASE}/share/java/classes/junit.jar:${PORTSDIR}/java/junit USE_JAVA= 1.4+ NEED_JAVAC= YES -ANT?= ${LOCALBASE}/bin/ant +ANT_CMD?= ${LOCALBASE}/bin/ant +ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD} ANT_TARGET= clean compile-driver BUILDDIR= ${WRKDIR}/build-mysql-jdbc/${DISTNAME} @@ -56,14 +61,14 @@ PORTDOCS= * .endif pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file" - @${ECHO} "" - @${ECHO} "This port requires JDK 1.4.x or better to compile, but the" - @${ECHO} "JDBC driver will operate with JVM 1.2.x or better" - @${ECHO} "" + @${ECHO_MSG} "" + @${ECHO_MSG} "You may use the following build options:" + @${ECHO_MSG} "" + @${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file" + @${ECHO_MSG} "" + @${ECHO_MSG} "This port requires JDK 1.4.x or better to compile, but the" + @${ECHO_MSG} "JDBC driver will operate with JVM 1.2.x or better" + @${ECHO_MSG} "" do-build: .if !defined(WITHOUT_COMPILE) diff --git a/databases/mysql-connector-java/distinfo b/databases/mysql-connector-java/distinfo index 84397f7dc016..fa92af587756 100644 --- a/databases/mysql-connector-java/distinfo +++ b/databases/mysql-connector-java/distinfo @@ -1 +1,2 @@ MD5 (mysql-connector-java-3.0.10-stable.tar.gz) = f0cbac69f179c049bf57b30c0d76082c +SIZE (mysql-connector-java-3.0.10-stable.tar.gz) = 759619 diff --git a/databases/mysql-connector-java/pkg-plist b/databases/mysql-connector-java/pkg-plist deleted file mode 100644 index cea1fb834b67..000000000000 --- a/databases/mysql-connector-java/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -share/java/classes/jdbc2_0-stdext.jar -share/java/classes/jta-spec1_0_1.jar -share/java/classes/mysql-connector-java.jar |