2013-01-26 17:34:39 +01:00
|
|
|
# Created by: nbm
|
2001-01-19 16:00:39 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phppgadmin
|
2013-04-17 21:35:23 +02:00
|
|
|
PORTVERSION= 5.1
|
2001-01-19 16:00:39 +01:00
|
|
|
CATEGORIES= databases www
|
2013-04-17 21:35:23 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/phpPgAdmin%20%5Bstable%5D/phpPgAdmin-5.1
|
2003-08-13 14:01:31 +02:00
|
|
|
DISTNAME= phpPgAdmin-${PORTVERSION}
|
2001-01-19 16:00:39 +01:00
|
|
|
|
2004-03-22 11:38:10 +01:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Web Based Postgres Administration
|
2001-01-19 16:00:39 +01:00
|
|
|
|
2010-12-14 19:54:18 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2007-01-13 11:36:36 +01:00
|
|
|
USE_BZIP2= YES
|
2004-07-06 16:24:35 +02:00
|
|
|
.if !defined(WITHOUT_PHP_DEPENDS)
|
2005-07-30 20:46:49 +02:00
|
|
|
USE_PHP= pgsql pcre session
|
2004-07-06 16:24:35 +02:00
|
|
|
.endif
|
2001-01-19 16:00:39 +01:00
|
|
|
NO_BUILD= YES
|
2007-01-13 11:36:36 +01:00
|
|
|
PGADMDIR?= www/phpPgAdmin
|
2004-03-22 21:57:26 +01:00
|
|
|
PLIST_SUB+= PGADMDIR=${PGADMDIR}
|
2007-01-13 11:36:36 +01:00
|
|
|
PGADMOLDDIR?= www/data-dist/phpPgAdmin
|
|
|
|
PLIST_SUB+= PGADMOLDDIR=${PGADMOLDDIR}
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} "# you can customize the installation directory"
|
|
|
|
@${ECHO_CMD} "# by setting PGADMDIR in /etc/make.conf"
|
2003-11-21 20:50:19 +01:00
|
|
|
|
2004-03-22 15:38:02 +01:00
|
|
|
do-configure:
|
|
|
|
${REINPLACE_CMD} -e "s|/usr/bin/pg|${LOCALBASE}/bin/pg|" \
|
2004-03-22 21:57:26 +01:00
|
|
|
${WRKSRC}/conf/config.inc.php-dist
|
|
|
|
${RM} -f ${WRKSRC}/conf/config.inc.php \
|
2004-03-22 15:38:02 +01:00
|
|
|
${WRKSRC}/conf/config.inc.php-dist.bak
|
|
|
|
|
2001-01-19 16:00:39 +01:00
|
|
|
do-install:
|
2013-11-27 07:09:40 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PGADMDIR}
|
|
|
|
${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PGADMDIR}/
|
2001-01-19 16:00:39 +01:00
|
|
|
|
2013-11-27 07:09:40 +01:00
|
|
|
.include <bsd.port.mk>
|