summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2004-11-08 19:06:19 +0000
committerjdolecek <jdolecek>2004-11-08 19:06:19 +0000
commita570c0f86e65f8cbb3eb272369c90f78d5af035e (patch)
tree14adb9a4f3333e43973abaad48f9ed7b5ab72442 /databases
parent386a84c562e5a8469045ea4d0e30ce4a67f42d28 (diff)
downloadpkgsrc-a570c0f86e65f8cbb3eb272369c90f78d5af035e.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')
-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}