blob: 2f155735abb5683bae5a0793763fc2cdbdc64b0a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# New ports collection makefile for: The mm MySql JDBC interface
# Date created: 2 January 2000
# Whom: Dave Glowacki <dglo@ssec.wisc.edu>
#
# $FreeBSD$
#
PORTNAME= mysql-jdbc-mm
PORTVERSION= 1.2c
CATEGORIES= databases java
MASTER_SITES= http://mmmysql.sourceforge.net/dist/
DISTNAME= mm.mysql.jdbc-${PORTVERSION}
MAINTAINER= dglo@SSEC.WISC.EDU
BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
ALL_TARGET= jar
do-install:
@${MKDIR} ${PREFIX}/share/java/classes
@${INSTALL_DATA} ${WRKSRC}/mysql_comp.jar ${LOCALBASE}/share/java/classes
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
.include <bsd.port.mk>
|