aboutsummaryrefslogtreecommitdiff
path: root/deskutils/zorro
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/zorro
parent08436d780099b5b9549d412fe146fb0733c19412 (diff)
downloadports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz
ports-40a33a607008465f53d5a6195b52da563743c5c1.zip
Notes
Diffstat (limited to 'deskutils/zorro')
-rw-r--r--deskutils/zorro/Makefile3
-rw-r--r--deskutils/zorro/files/patch-aa2
2 files changed, 4 insertions, 1 deletions
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
#