View | Details | Raw Unified | Return to bug 143052
Collapse All | Expand All

(-)mysql-connector-java/Makefile (-18 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	mysql-connector-java
8
PORTNAME=	mysql-connector-java
9
PORTVERSION=	5.1.10
9
PORTVERSION=	5.1.11
10
CATEGORIES=	databases java
10
CATEGORIES=	databases java
11
MASTER_SITES=	${MASTER_SITE_MYSQL}
11
MASTER_SITES=	${MASTER_SITE_MYSQL}
12
MASTER_SITE_SUBDIR=	Connector-J
12
MASTER_SITE_SUBDIR=	Connector-J
Lines 14-23 Link Here
14
MAINTAINER=	m.seaman@infracaninophile.co.uk
14
MAINTAINER=	m.seaman@infracaninophile.co.uk
15
COMMENT=	MySQL Connector/J: JDBC interface for MySQL
15
COMMENT=	MySQL Connector/J: JDBC interface for MySQL
16
16
17
CONFLICTS=	mysql-connector-java*-5.0.*
18
19
RUN_DEPENDS=	${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
17
RUN_DEPENDS=	${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
20
18
19
CONFLICTS=	mysql-connector-java*-5.0.*
20
21
USE_JAVA=	yes
21
USE_JAVA=	yes
22
JAVA_VERSION=	1.3+
22
JAVA_VERSION=	1.3+
23
BUILDDIR=	${WRKDIR}/${DISTNAME}
23
BUILDDIR=	${WRKDIR}/${DISTNAME}
Lines 25-50 Link Here
25
SRCDIR=		${WRKDIR}/${DISTNAME}/src
25
SRCDIR=		${WRKDIR}/${DISTNAME}/src
26
JAVADOCDIR=	${WRKDIR}/${DISTNAME}/javadoc
26
JAVADOCDIR=	${WRKDIR}/${DISTNAME}/javadoc
27
DESTJARFILE=	${PORTNAME}.jar
27
DESTJARFILE=	${PORTNAME}.jar
28
EXTRAJARS=	jdbc2_0-stdext.jar jta-spec1_0_1.jar
29
EXTRADOCS=	README CHANGES docs/connector-j.html docs/connector-j.pdf
28
EXTRADOCS=	README CHANGES docs/connector-j.html docs/connector-j.pdf
30
JARFILE=	${DISTNAME}-bin.jar
29
JARFILE=	${DISTNAME}-bin.jar
31
JDCLASSPATH=	${SRCDIR}:${SRCDIR}/lib/jdbc2_0-stdext.jar:${SRCDIR}/lib/jta-spec1_0_1.jar:${CLASSPATH}
30
JDCLASSPATH=	${SRCDIR}:${CLASSPATH}
32
31
33
PLIST_FILES=	%%JAVAJARDIR%%/jdbc2_0-stdext.jar \
32
PLIST_FILES=	%%JAVAJARDIR%%/${DESTJARFILE}
34
		%%JAVAJARDIR%%/jta-spec1_0_1.jar  \
35
		%%JAVAJARDIR%%/${DESTJARFILE}
36
33
37
.if !defined(NOPORTDOCS)
34
.if !defined(NOPORTDOCS)
38
PORTDOCS=	*
35
PORTDOCS=	*
39
.endif
36
.endif
40
37
41
pre-fetch:
42
	@${ECHO_MSG} ""
43
	@${ECHO_MSG} "Note: this port now installs the pre-compiled driver without"
44
	@${ECHO_MSG} "the option of compiling from source, because compilation requires"
45
	@${ECHO_MSG} "a mix of Java-5 and Java-6 that is not supported by bsd.java.mk"
46
	@${ECHO_MSG} ""
47
48
do-build:
38
do-build:
49
.if !defined(NOPORTDOCS)
39
.if !defined(NOPORTDOCS)
50
	@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \
40
	@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \
Lines 59-67 Link Here
59
do-install-jar:
49
do-install-jar:
60
	@${ECHO_MSG} -n ">> Installing .jar files..."
50
	@${ECHO_MSG} -n ">> Installing .jar files..."
61
	@${INSTALL_DATA} ${BUILDDIR}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
51
	@${INSTALL_DATA} ${BUILDDIR}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
62
	@for extrajar in ${EXTRAJARS} ; do                                     \
63
	  ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/lib/$$extrajar ${JAVAJARDIR} ; \
64
	done
65
	@${ECHO_MSG} " [ DONE ]"
52
	@${ECHO_MSG} " [ DONE ]"
66
53
67
do-install-apidocs:
54
do-install-apidocs:
(-)mysql-connector-java/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mysql-connector-java-5.1.10.tar.gz) = f9da616de868ddd1acf1428334f3313d
1
MD5 (mysql-connector-java-5.1.11.tar.gz) = 22630172e67c1a96996c3201d9b30398
2
SHA256 (mysql-connector-java-5.1.10.tar.gz) = d156857f85737d7cca5d8ab9ba77e2809756c94b2e9a40bc333e08a00da8e1e8
2
SHA256 (mysql-connector-java-5.1.11.tar.gz) = ad1522b5d35cd3c599008c3e5f5297797def115c310c3b66b4a07eed8ace14a7
3
SIZE (mysql-connector-java-5.1.10.tar.gz) = 3666173
3
SIZE (mysql-connector-java-5.1.11.tar.gz) = 3735062

Return to bug 143052