summaryrefslogtreecommitdiff
path: root/databases/phpmyadmin
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-08 19:06:19 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-08 19:06:19 +0000
commita3202eb5b21704382cd4a35a083e4aa51be0f67a (patch)
tree14adb9a4f3333e43973abaad48f9ed7b5ab72442 /databases/phpmyadmin
parent5d487fbe78ea9a0c6698cbcd2020b51a5e96c3e5 (diff)
downloadpkgsrc-a3202eb5b21704382cd4a35a083e4aa51be0f67a.tar.gz
make sure to remove the ${PREFIX}/share/phpmyadmin/config.inc.php symlink
before copying files over, to avoid accidental overwrite of the config file via the stale symlink
Diffstat (limited to 'databases/phpmyadmin')
-rw-r--r--databases/phpmyadmin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/phpmyadmin/Makefile b/databases/phpmyadmin/Makefile
index f98a59d9e80..e0a2efbb758 100644
--- a/databases/phpmyadmin/Makefile
+++ b/databases/phpmyadmin/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2004/11/06 13:28:32 jdolecek Exp $
+# $NetBSD: Makefile,v 1.20 2004/11/08 19:06:19 jdolecek Exp $
DISTNAME= phpMyAdmin-${DIST_VERSION}
PKGNAME= phpmyadmin-${DIST_VERSION}
+PKGREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpmyadmin/}
EXTRACT_SUFX= .tar.bz2
@@ -60,6 +61,7 @@ do-install:
done
${INSTALL_DATA_DIR} ${PMDIR}/scripts
+ ${RM} -f ${CONF_INC_PHP} # just in case
${INSTALL_DATA} ${WRKSRC}/*.php ${PMDIR}
${INSTALL_DATA} ${WRKSRC}/*.css ${PMDIR}
${MV} ${CONF_INC_PHP} ${EXDIR}