freebsd-ports/databases/phppgadmin/Makefile
Neil Blakey-Milner 828425b062 Default to using PHP4 and not PHP3, as recommended by the phpPgAdmin
site, and also because it makes it work better out the box.  Thanks
Paul.

Submitted by:	Paul Pathiakis <ppathiakis@homeportfolio.com>
2001-09-11 10:32:48 +00:00

32 lines
743 B
Makefile

# New ports collection makefile for: phpPgAdmin
# Date created: 19 Jan 2001
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= phppgadmin
PORTVERSION= 2.3
PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ftp://ftp.greatbridge.org/pub/phppgadmin/stable/
DISTNAME= phpPgAdmin_2-3
MAINTAINER= nbm@FreeBSD.org
.if !defined(WITH_PHP3)
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.endif
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
WRKSRC= ${WRKDIR}/phpPgAdmin
NO_BUILD= YES
do-install:
${MKDIR} ${PREFIX}/www/data.default/phpPgAdmin/
${CP} -R ${WRKSRC}/* ${PREFIX}/www/data.default/phpPgAdmin/
.include <bsd.port.mk>