2001-01-19 16:00:39 +01:00
|
|
|
# New ports collection makefile for: phpPgAdmin
|
|
|
|
# Date created: 19 Jan 2001
|
|
|
|
# Whom: nbm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= phppgadmin
|
2003-11-21 20:50:19 +01:00
|
|
|
PORTVERSION= 3.0.1
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2001-01-19 16:00:39 +01:00
|
|
|
CATEGORIES= databases www
|
2002-03-23 11:48:04 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-08-13 14:01:31 +02:00
|
|
|
DISTNAME= phpPgAdmin-${PORTVERSION}
|
2001-01-19 16:00:39 +01:00
|
|
|
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Web Based Postgres Administration
|
2001-01-19 16:00:39 +01:00
|
|
|
|
2003-01-04 16:53:39 +01:00
|
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
|
|
|
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
2001-01-19 16:00:39 +01:00
|
|
|
|
2003-08-13 14:01:31 +02:00
|
|
|
USE_BZIP2= yes
|
2001-01-19 16:00:39 +01:00
|
|
|
WRKSRC= ${WRKDIR}/phpPgAdmin
|
|
|
|
NO_BUILD= YES
|
|
|
|
|
2003-11-21 20:50:19 +01:00
|
|
|
PGADMDIR?= www/data/phpPgAdmin
|
|
|
|
PLIST_SUB+= PGADMDIR=${PGADMDIR}
|
|
|
|
|
2003-08-22 21:41:39 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
|
|
|
|
|
2001-01-19 16:00:39 +01:00
|
|
|
do-install:
|
2003-11-21 20:50:19 +01:00
|
|
|
${MKDIR} ${PREFIX}/${PGADMDIR}
|
|
|
|
${CP} -R ${WRKSRC}/* ${PREFIX}/${PGADMDIR}
|
2001-01-19 16:00:39 +01:00
|
|
|
|
2003-08-22 21:41:39 +02:00
|
|
|
.include <bsd.port.post.mk>
|