summaryrefslogtreecommitdiff
path: root/databases/phppgadmin/Makefile
blob: 3e148a648db6befa1a277da7f2edfa6c5e8d4b8b (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.3 2003/09/01 12:58:34 jdolecek 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

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"