aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgaccess/Makefile
blob: 4ce97f9ce57a1e344b3545e6e4eec7acfd5052be (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
# New ports collection makefile for:    pgaccess
# Date created:     Sat Oct  4 20:03:46 CEST 1997
# Whom:         Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

PORTNAME=   pgaccess
PORTVERSION=    0.98.6
CATEGORIES= databases
MASTER_SITES=   ftp://speedy.flex.ro/pub/pgaccess/

MAINTAINER= ports@FreeBSD.org

RUN_DEPENDS=    ${LOCALBASE}/pgsql/bin/postmaster:${PORTSDIR}/databases/postgresql7\
        wish8.3:${PORTSDIR}/x11-toolkits/tk83

WRKSRC=     ${WRKDIR}/pgaccess
NO_BUILD=       yes

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>