diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-20 22:18:13 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-20 22:18:13 +0000 |
commit | 6c840b2f59685c158e3a273ebdeb732d3100cef2 (patch) | |
tree | 720e45f2836f3f7087db29c3b1f1df9933b32c3c /databases/phpmyadmin | |
parent | 464c79083553d0c266e0cc9ccaae8013bc85b86d (diff) | |
download | pkgsrc-6c840b2f59685c158e3a273ebdeb732d3100cef2.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/phpmyadmin')
-rw-r--r-- | databases/phpmyadmin/Makefile | 14 |
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 |