aboutsummaryrefslogtreecommitdiffstats
path: root/databases/phppgadmin/Makefile
blob: e96a722fbbd49d709d13df1903f48f68a8c8e009 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for: phpPgAdmin
# Date created:     19 Jan 2001
# Whom:         nbm
#
# $FreeBSD$
#

PORTNAME=   phppgadmin
PORTVERSION=    2.4.2
CATEGORIES= databases www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   phpPgAdmin_${PORTVERSION:S/./-/g}

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>