aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-07 20:43:25 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-07 20:43:25 +0000
commit0b2b6e06264dbce9343d8da7ed7c7c6c73306e50 (patch)
tree9f245c246ee28fc08e7e182abff4c37992d4bae9 /databases
parent9895db3d6792f71a498d400bc0f0eb9a0a77c494 (diff)
downloadports-0b2b6e06264dbce9343d8da7ed7c7c6c73306e50.tar.gz
ports-0b2b6e06264dbce9343d8da7ed7c7c6c73306e50.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-connector-java/Makefile25
-rw-r--r--databases/mysql-connector-java/distinfo1
-rw-r--r--databases/mysql-connector-java/pkg-plist3
-rw-r--r--databases/mysql-connector-java50/Makefile25
-rw-r--r--databases/mysql-connector-java50/distinfo1
-rw-r--r--databases/mysql-connector-java50/pkg-plist3
6 files changed, 32 insertions, 26 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
diff --git a/databases/mysql-connector-java50/Makefile b/databases/mysql-connector-java50/Makefile
index 467e35504958..795145f6849f 100644
--- a/databases/mysql-connector-java50/Makefile
+++ b/databases/mysql-connector-java50/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-java50/distinfo b/databases/mysql-connector-java50/distinfo
index 84397f7dc016..fa92af587756 100644
--- a/databases/mysql-connector-java50/distinfo
+++ b/databases/mysql-connector-java50/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-java50/pkg-plist b/databases/mysql-connector-java50/pkg-plist
deleted file mode 100644
index cea1fb834b67..000000000000
--- a/databases/mysql-connector-java50/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