summaryrefslogtreecommitdiff
path: root/databases/phppgadmin/Makefile
blob: 39e37b2d1d5b361af794cbf8c267d1a4f79126bb (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
# $NetBSD: Makefile,v 1.4 2004/01/20 12:12:49 agc Exp $

DISTNAME=	phpPgAdmin_2-4-2
PKGNAME=	phppgadmin-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

WRKSRC=		${WRKDIR}/${DISTNAME:S/_2-4-2//}
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"