2000-01-29 22:23:06 +00: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 22:49:07 +00:00
|
|
|
PORTNAME= mysql-jdbc-mm
|
2000-04-25 13:59:18 +00:00
|
|
|
PORTVERSION= 1.2c
|
|
|
|
CATEGORIES= databases java
|
2000-01-29 22:23:06 +00:00
|
|
|
MASTER_SITES= http://www.worldserver.com/mm.mysql/dist/
|
2000-04-08 22:49:07 +00:00
|
|
|
DISTNAME= mm.mysql.jdbc-${PORTVERSION}
|
2000-01-29 22:23:06 +00:00
|
|
|
|
|
|
|
MAINTAINER= dglo@SSEC.WISC.EDU
|
|
|
|
|
2000-02-27 15:34:14 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
|
2000-01-29 22:23:06 +00: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-05 02:09:27 +00: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 22:23:06 +00:00
|
|
|
.include <bsd.port.mk>
|