aboutsummaryrefslogtreecommitdiff
path: root/databases/pgaccess/Makefile
blob: d92158a8f504b007700796b9d1e295c1cbefc4ce (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:	pgaccess
# Version required:	0.96
# Date created:		Sat Oct  4 20:03:46 CEST 1997
# Whom:			Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

DISTNAME=	pgaccess-0.98.4
CATEGORIES=	databases
MASTER_SITES=	ftp://ftp.flex.ro/pub/pgaccess/

MAINTAINER=	andreas@FreeBSD.org

RUN_DEPENDS=	${LOCALBASE}/pgsql/bin/postmaster:${PORTSDIR}/databases/postgresql\
		wish8.2:${PORTSDIR}/x11-toolkits/tk82

WRKSRC=		${WRKDIR}/pgaccess
NO_BUILD=		yes
FETCH_BEFORE_ARGS=	-b

do-install:
	@${MKDIR} ${PREFIX}/share/pgaccess
	@cd ${WRKSRC} && /bin/pax -rwp p copyright.html main.tcl lib images ${PREFIX}/share/pgaccess
.if !defined(NOPORTDOCS)
	@cd ${WRKSRC} && /bin/pax -rwp p README demo doc ${PREFIX}/share/pgaccess
.endif
	@${SED} -e 's:!!LOCALBASE!!:${LOCALBASE}:' ${WRKSRC}/pgaccess |\
	 ${SED} -e 's:!!PREFIX!!:${PREFIX}:' > ${PREFIX}/bin/pgaccess
	@${CHMOD} 555 ${PREFIX}/bin/pgaccess
.include <bsd.port.mk>