Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 06:09:40 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334998 - head/databases/phppgadmin
Message-ID:  <201311270609.rAR69eVM028492@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Wed Nov 27 06:09:40 2013
New Revision: 334998
URL: http://svnweb.freebsd.org/changeset/ports/334998

Log:
  - use STAGEDIR

Modified:
  head/databases/phppgadmin/Makefile

Modified: head/databases/phppgadmin/Makefile
==============================================================================
--- head/databases/phppgadmin/Makefile	Wed Nov 27 05:58:14 2013	(r334997)
+++ head/databases/phppgadmin/Makefile	Wed Nov 27 06:09:40 2013	(r334998)
@@ -12,8 +12,6 @@ COMMENT=	Web Based Postgres Administrati
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311270609.rAR69eVM028492>