summaryrefslogtreecommitdiff
path: root/databases/phppgadmin/Makefile
blob: d71e0542110088ac8555ffb4ec15d985b94f99eb (plain)
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
32
33
34
# $NetBSD: Makefile,v 1.2 2003/03/29 12:40:26 jmmv Exp $

DISTNAME=	phpPgAdmin_2-4-2
PKGNAME=	phppgadmin-2.4.2
WRKSRC=		${WRKDIR}/${DISTNAME:S/_2-4-2//}
CATEGORIES=	databases www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=phppgadmin/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	sjr@hispabsd.org
HOMEPAGE=	http://phppgadmin.sourceforge.net/
COMMENT=	Set of PHP-scripts to adminster PostgreSQL over the WWW

DEPENDS+=	php-pgsql>=4.1.2:../../databases/php4-pgsql
DEPENDS+=	php-pcre>=4.1.2:../../devel/php4-pcre

NO_BUILD=	YES

DOC_FILES=	BUGS ChangeLog Documentation.html \
		INSTALL README TODO

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/phppgadmin
	${INSTALL_DATA_DIR} ${PREFIX}/share/phppgadmin/images
	${INSTALL_SCRIPT} ${WRKSRC}/*.js ${PREFIX}/share/phppgadmin
	${INSTALL_SCRIPT} ${WRKSRC}/*.php ${PREFIX}/share/phppgadmin
	${INSTALL_SCRIPT} ${WRKSRC}/config.inc.php-dist ${PREFIX}/share/phppgadmin
	${INSTALL_DATA} ${WRKSRC}/images/*.* ${PREFIX}/share/phppgadmin/images
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/phppgadmin
	for f in ${DOC_FILES}; do					\
	  ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/phppgadmin;	\
	done

.include "../../mk/bsd.pkg.mk"