2000-01-29 17:23:06 -05:00
|
|
|
# New ports collection makefile for: The mm MySql JDBC interface
|
|
|
|
# Date created: 2 January 2000
|
|
|
|
# Whom: Dave Glowacki <dglo@ssec.wisc.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 18:49:07 -04:00
|
|
|
PORTNAME= mysql-jdbc-mm
|
2000-04-25 09:59:18 -04:00
|
|
|
PORTVERSION= 1.2c
|
|
|
|
CATEGORIES= databases java
|
2000-01-29 17:23:06 -05:00
|
|
|
MASTER_SITES= http://www.worldserver.com/mm.mysql/dist/
|
2000-04-08 18:49:07 -04:00
|
|
|
DISTNAME= mm.mysql.jdbc-${PORTVERSION}
|
2000-01-29 17:23:06 -05:00
|
|
|
|
|
|
|
MAINTAINER= dglo@SSEC.WISC.EDU
|
|
|
|
|
2000-02-27 10:34:14 -05:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
|
2000-01-29 17:23:06 -05:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
|
|
|
|
|
|
|
|
ALL_TARGET= jar
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/java/classes
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/mysql_comp.jar ${LOCALBASE}/share/java/classes
|
|
|
|
|
2000-09-04 22:09:27 -04:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/mysql-jdbc
|
|
|
|
@(cd ${WRKSRC}/doc && ${TAR} -c -f - .) \
|
|
|
|
| (cd ${PREFIX}/share/doc/mysql-jdbc && ${TAR} --unlink -x -f -)
|
|
|
|
@(cd ${PREFIX} \
|
|
|
|
&& find share/doc/mysql-jdbc -type f -print >> ${TMPPLIST})
|
|
|
|
.endif
|
|
|
|
|
2000-01-29 17:23:06 -05:00
|
|
|
.include <bsd.port.mk>
|