summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-01-18 18:50:07 +0000
committerolgeni <olgeni@FreeBSD.org>2003-01-18 18:50:07 +0000
commit4455ecfe23866385b7d3d19c5f246056ec2a9582 (patch)
treead06211911f72bd3bd6d363a0f8d62cc16a2642d /databases
parent940a4309787bf36641ab590bf682a71cc733e076 (diff)
downloadFreeBSD-ports-4455ecfe23866385b7d3d19c5f246056ec2a9582.zip
FreeBSD-ports-4455ecfe23866385b7d3d19c5f246056ec2a9582.tar.gz
Fix path for pg_dump using PREFIX.
Approved by: maintainer
Diffstat (limited to 'databases')
-rw-r--r--databases/pgaccess/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/databases/pgaccess/Makefile b/databases/pgaccess/Makefile
index fbab424..a5280b9 100644
--- a/databases/pgaccess/Makefile
+++ b/databases/pgaccess/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pgaccess
PORTVERSION= 0.98.8
+PORTREVISION= 1
CATEGORIES= databases tcl83 tk83
MASTER_SITES= http://www.pgaccess.org/download/
DIST_SUBDIR= postgresql
@@ -15,10 +16,16 @@ MAINTAINER= girgen@pingpong.net
LIB_DEPENDS= pgtcl:${PORTSDIR}/databases/postgresql-tcltk
+USE_REINPLACE= yes
+
TCL_VERSION?= 8.4
PGACCESSDOCDIR= ${PREFIX}/share/doc/postgresql/pgaccess
PGACCESSDIR= ${PREFIX}/share/postgresql/pgaccess
+post-patch:
+ @${REINPLACE_CMD} -e "s,/usr/bin,${PREFIX}/bin,g ; " ${WRKSRC}/lib/mainlib.tcl
+ @${RM} ${WRKSRC}/lib/mainlib.tcl.bak
+
do-build:
.for file in pgaccess.tcl pgmonitor
@ ${SED} -e "s,%%LOCALBASE%%,${LOCALBASE},g; \
OpenPOWER on IntegriCloud