aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-11-27 14:09:40 +0800
committerdinoex <dinoex@FreeBSD.org>2013-11-27 14:09:40 +0800
commit6727e66a130be37408d6e3b5f0fa74f0dea3c8f0 (patch)
treee3e512dfff6c8017d1397e3bc2e1526117f5c0ac /databases
parent4b4645972f433b5ff2d9e3b28a1db0d28c95ac34 (diff)
downloadfreebsd-ports-gnome-6727e66a130be37408d6e3b5f0fa74f0dea3c8f0.tar.gz
freebsd-ports-gnome-6727e66a130be37408d6e3b5f0fa74f0dea3c8f0.tar.zst
freebsd-ports-gnome-6727e66a130be37408d6e3b5f0fa74f0dea3c8f0.zip
- use STAGEDIR
Diffstat (limited to 'databases')
-rw-r--r--databases/phppgadmin/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile
index ecef8d1bc399..cedb6163171d 100644
--- a/databases/phppgadmin/Makefile
+++ b/databases/phppgadmin/Makefile
@@ -12,8 +12,6 @@ COMMENT= Web Based Postgres Administration
LICENSE= GPLv2
-NO_STAGE= yes
-
USE_BZIP2= YES
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= pgsql pcre session
@@ -34,17 +32,8 @@ do-configure:
${RM} -f ${WRKSRC}/conf/config.inc.php \
${WRKSRC}/conf/config.inc.php-dist.bak
-.include <bsd.port.pre.mk>
-
do-install:
- ${MKDIR} ${PREFIX}/${PGADMDIR}
- ${RM} -f ${WRKSRC}/classes/database/Postgres81.php.orig
- ${CP} -Rp ${WRKSRC}/ ${PREFIX}/${PGADMDIR}/
-.if exists(${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php)
- ${CP} -np ${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php \
- ${PREFIX}/${PGADMDIR}/conf/config.inc.php || ${TRUE}
-.endif
- ${CP} -np ${PREFIX}/${PGADMDIR}/conf/config.inc.php-dist \
- ${PREFIX}/${PGADMDIR}/conf/config.inc.php || ${TRUE}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PGADMDIR}
+ ${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PGADMDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>