diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2003-09-28 09:20:34 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2003-09-28 09:20:34 +0000 |
commit | 2fdfb38966eca038b6c6fe0620bb02c8911e970b (patch) | |
tree | f2daf8bedff7ff3631e7635f3d66d45e91faeec1 /databases/mysql-client | |
parent | 2208a6acf9c4762c5094c7a32b330edbae677600 (diff) | |
download | pkgsrc-2fdfb38966eca038b6c6fe0620bb02c8911e970b.tar.gz |
use PLIST_SUBST with DISTNAME to generate the spec file name in PLIST,
so that PLIST wouldn't need to be updated on each pkg update
Diffstat (limited to 'databases/mysql-client')
-rw-r--r-- | databases/mysql-client/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql-client/PLIST | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/databases/mysql-client/Makefile b/databases/mysql-client/Makefile index 64092cd6b5a..c67125db514 100644 --- a/databases/mysql-client/Makefile +++ b/databases/mysql-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2003/09/28 09:03:52 jdolecek Exp $ +# $NetBSD: Makefile,v 1.27 2003/09/28 09:20:34 jdolecek Exp $ PKGNAME= ${DISTNAME:S/-/-client-/} PKGREVISION= 1 @@ -11,6 +11,7 @@ CONFIGURE_ARGS+= --without-server USE_BUILDLINK2= YES INFO_FILES= mysql.info +PLIST_SUBST+= DISTNAME="${DISTNAME}" post-install: cd ${PREFIX}/man/man1; ${RM} -f mysqld.1 safe_mysqld.1 diff --git a/databases/mysql-client/PLIST b/databases/mysql-client/PLIST index cc3064f0628..4b6a12fe018 100644 --- a/databases/mysql-client/PLIST +++ b/databases/mysql-client/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2003/09/28 09:03:52 jdolecek Exp $ +@comment $NetBSD: PLIST,v 1.8 2003/09/28 09:20:34 jdolecek Exp $ bin/msql2mysql bin/mysql bin/mysqlcheck @@ -62,7 +62,7 @@ share/mysql/my-huge.cnf share/mysql/my-large.cnf share/mysql/my-medium.cnf share/mysql/my-small.cnf -share/mysql/mysql-3.23.51.spec +share/mysql/${DISTNAME}.spec share/mysql/mysql-log-rotate @dirrm share/mysql @dirrm lib/mysql |