aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:44:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-23 13:44:03 +0000
commit40a33a607008465f53d5a6195b52da563743c5c1 (patch)
tree6746aa60a42ef4999ee47c9081c98f357098f148 /deskutils
parent08436d780099b5b9549d412fe146fb0733c19412 (diff)
downloadports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz
ports-40a33a607008465f53d5a6195b52da563743c5c1.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/cbb/files/patch-012
-rw-r--r--deskutils/zorro/Makefile3
-rw-r--r--deskutils/zorro/files/patch-aa2
3 files changed, 5 insertions, 2 deletions
diff --git a/deskutils/cbb/files/patch-01 b/deskutils/cbb/files/patch-01
index 96ce834a7341..924d43de64b2 100644
--- a/deskutils/cbb/files/patch-01
+++ b/deskutils/cbb/files/patch-01
@@ -8,7 +8,7 @@
+PERL = ${PERL5}
VERSION = 0.8.1
-WISH = /usr/bin/wish
-+WISH = /usr/bin/wish8.2
++WISH = ${LOCALBASE}/bin/wish8.2
language = english
SUBDIRS = contrib demo docs graphs images languages reports
diff --git a/deskutils/zorro/Makefile b/deskutils/zorro/Makefile
index 85fec116913d..366ab92461b0 100644
--- a/deskutils/zorro/Makefile
+++ b/deskutils/zorro/Makefile
@@ -17,6 +17,9 @@ LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
NO_BUILD= yes
+post-patch:
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/zorro
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zorro ${PREFIX}/bin/zorro
${MKDIR} ${PREFIX}/share/zorro
diff --git a/deskutils/zorro/files/patch-aa b/deskutils/zorro/files/patch-aa
index 4874763fbe63..a62e966242bd 100644
--- a/deskutils/zorro/files/patch-aa
+++ b/deskutils/zorro/files/patch-aa
@@ -9,7 +9,7 @@
# ----------------------------------------------------------------------
# AUTHOR: Lindsay Marshall <lindsay.marshall@newcastle.ac.uk>
--- 1,6 ----
-! #!/usr/local/bin/wish8.2
+! #!%%LOCALBASE%%/bin/wish8.2
#
! # Version 1.1 Patch 8
#