summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
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