diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-23 13:44:03 +0000 |
commit | 40a33a607008465f53d5a6195b52da563743c5c1 (patch) | |
tree | 6746aa60a42ef4999ee47c9081c98f357098f148 /misc/dotfile | |
parent | 08436d780099b5b9549d412fe146fb0733c19412 (diff) | |
download | ports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz ports-40a33a607008465f53d5a6195b52da563743c5c1.zip |
- Support LOCALBASE properly (in setting path to custom wish script)
PR: 19470
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=29809
Diffstat (limited to 'misc/dotfile')
-rw-r--r-- | misc/dotfile/Makefile | 5 | ||||
-rw-r--r-- | misc/dotfile/files/patch-af | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile index 2063f5c8b4ae..f648a218497c 100644 --- a/misc/dotfile/Makefile +++ b/misc/dotfile/Makefile @@ -20,6 +20,9 @@ MAN1= dotfile.1 NO_BUILD= yes +post-patch: + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile + post-configure: @(cd ${WRKSRC}/Modules/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \ @@ -41,6 +44,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/Doc/dotfile/* ${PREFIX}/share/doc/${DISTNAME}/dotfile ${INSTALL_DATA} ${WRKSRC}/Doc/tcsh/* ${PREFIX}/share/doc/${DISTNAME}/tcsh ${INSTALL_DATA} ${WRKSRC}/Doc/procmail/* ${PREFIX}/share/doc/${DISTNAME}/procmail - @${CAT} ${PKGDIR}/MESSAGE + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/misc/dotfile/files/patch-af b/misc/dotfile/files/patch-af index 4d47e3855499..655899763097 100644 --- a/misc/dotfile/files/patch-af +++ b/misc/dotfile/files/patch-af @@ -5,6 +5,6 @@ echo "" else - exec /usr/local/bin/wish -f Generator/dotfile.tcl Generator Modules/$1 $2 -+ exec /usr/local/bin/wish8.2 -f Generator/dotfile.tcl Generator Modules/$1 $2 ++ exec %%LOCALBASE%%/bin/wish8.2 -f Generator/dotfile.tcl Generator Modules/$1 $2 fi |