summaryrefslogtreecommitdiff
path: root/databases/jdbc-mysql5
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2009-02-11 22:56:02 +0000
committeradrianp <adrianp@pkgsrc.org>2009-02-11 22:56:02 +0000
commiteb50c8671336a3c6be5a2d799b0b64821087e31e (patch)
treec51575e162a19a1abfe9dd4e4c05e5b1f7d59929 /databases/jdbc-mysql5
parentd6aa963e76e7ee3ca30b146dd2bc03ff40e10e66 (diff)
downloadpkgsrc-eb50c8671336a3c6be5a2d799b0b64821087e31e.tar.gz
Fix PKGNAME change fallout
Diffstat (limited to 'databases/jdbc-mysql5')
-rw-r--r--databases/jdbc-mysql5/Makefile6
-rw-r--r--databases/jdbc-mysql5/PLIST12
2 files changed, 9 insertions, 9 deletions
diff --git a/databases/jdbc-mysql5/Makefile b/databases/jdbc-mysql5/Makefile
index f25e994be24..7c2d0cb8cc5 100644
--- a/databases/jdbc-mysql5/Makefile
+++ b/databases/jdbc-mysql5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2009/02/11 22:42:58 adrianp Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/11 22:56:02 adrianp Exp $
#
DISTNAME= mysql-connector-java-5.0.8
@@ -17,13 +17,13 @@ USE_JAVA2= 1.5
NO_BUILD= yes
DOCDIR= share/doc/${PKGBASE}
-PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q}
+PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PKGNAME_NOREV}-bin.jar \
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}-bin.jar \
${DESTDIR}${PREFIX}/lib/java
${INSTALL_DATA} ${WRKSRC}/docs/README ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README.txt ${DESTDIR}${PREFIX}/${DOCDIR}
diff --git a/databases/jdbc-mysql5/PLIST b/databases/jdbc-mysql5/PLIST
index 00cadaed89a..b4c606e2e07 100644
--- a/databases/jdbc-mysql5/PLIST
+++ b/databases/jdbc-mysql5/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/11 22:35:43 adrianp Exp $
-lib/java/${PKGNAME_NOREV}-bin.jar
-share/doc/mysql-connector-java/connector-j.html
-share/doc/mysql-connector-java/README
-share/doc/mysql-connector-java/README.txt
-@dirrm share/doc/mysql-connector-java
+@comment $NetBSD: PLIST,v 1.2 2009/02/11 22:56:02 adrianp Exp $
+lib/java/${DISTNAME}-bin.jar
+share/doc/jdbc-mysql/connector-j.html
+share/doc/jdbc-mysql/README
+share/doc/jdbc-mysql/README.txt
+@dirrm share/doc/jdbc-mysql
@unexec ${RMDIR} %D/lib/java 2>/dev/null || ${TRUE}