summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-20 22:18:13 +0000
committerjlam <jlam>2005-05-20 22:18:13 +0000
commit7983af2a1e0132d0700279d4afc6aa10fcea4e5d (patch)
tree720e45f2836f3f7087db29c3b1f1df9933b32c3c /databases
parentdf0c9f1c77e5c8dcec6f4aede365ae5d61e357e6 (diff)
downloadpkgsrc-7983af2a1e0132d0700279d4afc6aa10fcea4e5d.tar.gz
Remove extravagent use of SUBST_CLASSES and replace with one-liner to
create the config file at do-configure time.
Diffstat (limited to 'databases')
-rw-r--r--databases/phpmyadmin/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index 210483d60dc..a513510f28b 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2005/04/11 21:45:14 tv Exp $
+# $NetBSD: Makefile,v 1.32 2005/05/20 22:18:13 jlam Exp $
DISTNAME= phpMyAdmin-${DIST_VERSION}
PKGNAME= phpmyadmin-${DIST_VERSION:S/-//}
@@ -35,14 +35,7 @@ BUILD_DEFS+= APACHE_USER
USE_PKGINSTALL= YES
PKG_SYSCONFSUBDIR?= phpmyadmin
-SUBST_CLASSES= paths
-SUBST_STAGE.paths= post-extract
-SUBST_FILES.paths= ${WRKDIR}/phpmyadmin.conf
-SUBST_SED.paths= -e "s|@PMDIR@|${PMDIR}|g"
-SUBST_MESSAGE.paths= "Fixing paths."
-
NO_BUILD= # defined
-NO_CONFIGURE= # defined
INSTALL_DIRS= css lang libraries libraries/auth libraries/dbg \
libraries/dbi libraries/export libraries/fpdf \
@@ -51,8 +44,9 @@ INSTALL_DIRS= css lang libraries libraries/auth libraries/dbg \
themes/darkblue_orange/css themes/darkblue_orange/img \
themes/original themes/original/css themes/original/img
-pre-extract:
- @${CP} ${FILESDIR}/phpmyadmin.conf ${WRKDIR}/phpmyadmin.conf
+do-configure:
+ @${SED} -e "s|@PMDIR@|${PMDIR}|g" ${FILESDIR}/phpmyadmin.conf \
+ > ${WRKDIR}/phpmyadmin.conf
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/phpmyadmin