diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-07 20:43:25 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-02-07 20:43:25 +0000 |
commit | 0b2b6e06264dbce9343d8da7ed7c7c6c73306e50 (patch) | |
tree | 9f245c246ee28fc08e7e182abff4c37992d4bae9 /databases/mysql-connector-java | |
parent | - Fix build on AMD64 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=100288
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 |