diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
commit | 75802943a41a8d04904b4f8f73577c1e1f41bd19 (patch) | |
tree | cdb15359f6b17edd36ab0ef3a40572e8e1afb2d9 /deskutils | |
parent | 8ec81ff63c63edeff820bab082cf56a6e9155929 (diff) | |
download | FreeBSD-ports-75802943a41a8d04904b4f8f73577c1e1f41bd19.zip FreeBSD-ports-75802943a41a8d04904b4f8f73577c1e1f41bd19.tar.gz |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/cbb/files/patch-01 | 2 | ||||
-rw-r--r-- | deskutils/zorro/Makefile | 3 | ||||
-rw-r--r-- | deskutils/zorro/files/patch-aa | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/deskutils/cbb/files/patch-01 b/deskutils/cbb/files/patch-01 index 96ce834..924d43d 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 85fec11..366ab92 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 4874763..a62e966 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 # |