Lines 14-27
Link Here
|
14 |
MAINTAINER= matthew@FreeBSD.org |
14 |
MAINTAINER= matthew@FreeBSD.org |
15 |
COMMENT= MySQL Connector/J: JDBC interface for MySQL |
15 |
COMMENT= MySQL Connector/J: JDBC interface for MySQL |
16 |
|
16 |
|
|
|
17 |
LICENSE= GPLv2 |
18 |
|
17 |
RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j |
19 |
RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j |
18 |
|
20 |
|
19 |
USE_ZIP= yes |
21 |
USE_ZIP= yes |
20 |
|
22 |
|
21 |
CONFLICTS= mysql-connector-java*-5.0.* |
|
|
22 |
|
23 |
LICENSE= GPLv2 |
24 |
|
25 |
USE_JAVA= yes |
23 |
USE_JAVA= yes |
26 |
JAVA_VERSION= 1.5+ |
24 |
JAVA_VERSION= 1.5+ |
27 |
BUILDDIR= ${WRKDIR}/${DISTNAME} |
25 |
BUILDDIR= ${WRKDIR}/${DISTNAME} |
Lines 37-45
Link Here
|
37 |
|
35 |
|
38 |
.include <bsd.port.options.mk> |
36 |
.include <bsd.port.options.mk> |
39 |
|
37 |
|
40 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
41 |
PORTDOCS= * |
38 |
PORTDOCS= * |
42 |
.endif |
|
|
43 |
|
39 |
|
44 |
do-build: |
40 |
do-build: |
45 |
.if ${PORT_OPTIONS:MDOCS} |
41 |
.if ${PORT_OPTIONS:MDOCS} |
Lines 49-62
Link Here
|
49 |
com.mysql.jdbc org.gjt.mm.mysql) |
45 |
com.mysql.jdbc org.gjt.mm.mysql) |
50 |
.endif |
46 |
.endif |
51 |
|
47 |
|
52 |
do-install: do-install-jar do-install-apidocs |
48 |
do-install: |
53 |
|
|
|
54 |
do-install-jar: |
55 |
@${ECHO_MSG} -n ">> Installing .jar files..." |
49 |
@${ECHO_MSG} -n ">> Installing .jar files..." |
56 |
@${INSTALL_DATA} ${BUILDDIR}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE} |
50 |
@${INSTALL_DATA} ${BUILDDIR}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE} |
57 |
@${ECHO_MSG} " [ DONE ]" |
51 |
@${ECHO_MSG} " [ DONE ]" |
58 |
|
|
|
59 |
do-install-apidocs: |
60 |
.if ${PORT_OPTIONS:MDOCS} |
52 |
.if ${PORT_OPTIONS:MDOCS} |
61 |
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." |
53 |
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." |
62 |
@${MKDIR} ${APIDOCSDIR} |
54 |
@${MKDIR} ${APIDOCSDIR} |