Lines 2-12
Link Here
|
2 |
# Date created: 8 October 2003 |
2 |
# Date created: 8 October 2003 |
3 |
# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk> |
3 |
# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/databases/mysql-connector-java/Makefile,v 1.46 2007/10/12 23:49:21 miwi Exp $ |
5 |
# $FreeBSD: ports/databases/mysql-connector-java/Makefile,v 1.45 2007/10/02 21:17:32 hq Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= mysql-connector-java |
8 |
PORTNAME= mysql-connector-java |
9 |
PORTVERSION= 5.0.8 |
9 |
PORTVERSION= 5.1.5 |
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 16-41
Link Here
|
16 |
|
16 |
|
17 |
RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j |
17 |
RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j |
18 |
|
18 |
|
19 |
.if !defined(WITHOUT_COMPILE) |
|
|
20 |
|
21 |
BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ |
22 |
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j |
23 |
|
24 |
USE_JAVA= yes |
25 |
USE_ANT= yes |
26 |
JAVA_VERSION= 1.4+ |
27 |
ALL_TARGET= clean dist |
28 |
MAKE_ARGS= -Djavalibdir=${JAVALIBDIR} |
29 |
BUILDDIR= ${WRKDIR}/${DISTNAME}/build/${DISTNAME} |
30 |
|
31 |
.else |
32 |
|
33 |
USE_JAVA= yes |
19 |
USE_JAVA= yes |
34 |
JAVA_VERSION= 1.3+ |
20 |
JAVA_VERSION= 1.3+ |
35 |
BUILDDIR= ${WRKDIR}/${DISTNAME} |
21 |
BUILDDIR= ${WRKDIR}/${DISTNAME} |
36 |
|
|
|
37 |
.endif |
38 |
|
39 |
APIDOCSDIR= ${DOCSDIR}/javadoc |
22 |
APIDOCSDIR= ${DOCSDIR}/javadoc |
40 |
SRCDIR= ${WRKDIR}/${DISTNAME}/src |
23 |
SRCDIR= ${WRKDIR}/${DISTNAME}/src |
41 |
JAVADOCDIR= ${WRKDIR}/${DISTNAME}/javadoc |
24 |
JAVADOCDIR= ${WRKDIR}/${DISTNAME}/javadoc |
Lines 55-74
Link Here
|
55 |
|
38 |
|
56 |
pre-fetch: |
39 |
pre-fetch: |
57 |
@${ECHO_MSG} "" |
40 |
@${ECHO_MSG} "" |
58 |
@${ECHO_MSG} "You may use the following build options to override the" |
41 |
@${ECHO_MSG} "Note: this port now installs the pre-compiled driver without" |
59 |
@${ECHO_MSG} "default behaviour:" |
42 |
@${ECHO_MSG} "the option of compiling from source, because compilation requires" |
60 |
@${ECHO_MSG} "" |
43 |
@${ECHO_MSG} "a mix of Java-5 and Java-6 that is not supported by bsd.java.mk" |
61 |
@${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file" |
|
|
62 |
@${ECHO_MSG} "" |
63 |
@${ECHO_MSG} "This port requires JDK 1.4.x or better to compile, but the" |
64 |
@${ECHO_MSG} "JDBC driver can be made to operate with JVM 1.2.x or better" |
65 |
@${ECHO_MSG} "" |
44 |
@${ECHO_MSG} "" |
66 |
|
45 |
|
67 |
.if !defined(WITHOUT_COMPILE) |
|
|
68 |
post-build: |
69 |
.else |
70 |
do-build: |
46 |
do-build: |
71 |
.endif |
|
|
72 |
.if !defined(NOPORTDOCS) |
47 |
.if !defined(NOPORTDOCS) |
73 |
@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \ |
48 |
@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \ |
74 |
${JAVADOC} -quiet -breakiterator \ |
49 |
${JAVADOC} -quiet -breakiterator \ |