blob: 07a8e6232a7825c7cf8bb28e07bbbf553c093b07 (
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
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.9 2001/05/22 04:23:50 jlam Exp $
#
DISTNAME= pgaccess-0.98.7
WRKSRC= ${WRKDIR}/pgaccess
CATEGORIES= databases
MASTER_SITES= http://www.flex.ro/pgaccess/download/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.flex.ro/pgaccess/
COMMENT= Free graphical database management tool for PostgreSQL
DEPENDS+= tk-postgresql>=6.5.3:../../databases/tk-postgresql
NO_BUILD= # defined
.include "../../mk/bsd.prefs.mk"
PGTKSH= ${PREFIX}/bin/pgtksh
PGACCESS_HOME= ${PREFIX}/share/pgaccess
HTMLDIR= ${PREFIX}/share/doc/html/pgaccess
EGDIR= ${PREFIX}/share/examples/pgaccess
post-extract:
cd ${WRKSRC}; ${MV} -f pgaccess pgaccess.in
do-configure:
${SED} -e "s|@PGTKSH@|${PGTKSH}|g" \
-e "s|@PGACCESS_HOME@|${PGACCESS_HOME}|g" \
${WRKSRC}/pgaccess.in > ${WRKSRC}/pgaccess
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pgaccess ${PREFIX}/bin/pgaccess
${INSTALL_DATA_DIR} ${PGACCESS_HOME} ${HTMLDIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/main.tcl ${PGACCESS_HOME}
${CP} -R ${WRKSRC}/lib ${PGACCESS_HOME}
${CP} -R ${WRKSRC}/images ${PGACCESS_HOME}
${CP} -R ${WRKSRC}/doc/html/* ${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/demo/formdemo.sql ${EGDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PGACCESS_HOME} ${HTMLDIR} ${EGDIR}
.include "../../mk/bsd.pkg.mk"
|