blob: c909ea05f8905fc8f069cd8d0b087a01430b0afc (
plain)
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
|
# $NetBSD: Makefile,v 1.1.1.1 2009/02/11 22:35:43 adrianp Exp $
#
DISTNAME= mysql-connector-java-5.0.8
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-J/}
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://dev.mysql.com/doc/refman/5.0/en/connector-j.html
COMMENT= MySQL 5.0 JDBC driver
PKG_DESTDIR_SUPPORT= user-destdir
USE_JAVA= run
USE_JAVA2= 1.5
NO_BUILD= yes
DOCDIR= share/doc/${PKGBASE}
PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q}
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/${PKGNAME_NOREV}-bin.jar \
${DESTDIR}${PREFIX}/lib/java
${INSTALL_DATA} ${WRKSRC}/docs/README ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README.txt ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/connector-j.html ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|