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 | |
parent | 08436d780099b5b9549d412fe146fb0733c19412 (diff) | |
download | ports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz ports-40a33a607008465f53d5a6195b52da563743c5c1.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dotfile/Makefile | 5 | ||||
-rw-r--r-- | misc/dotfile/files/patch-af | 2 | ||||
-rw-r--r-- | misc/tkman/Makefile | 2 | ||||
-rw-r--r-- | misc/tkman/files/patch-aa | 2 |
4 files changed, 7 insertions, 4 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 diff --git a/misc/tkman/Makefile b/misc/tkman/Makefile index 2066b3bdcb73..31428d7c4a3a 100644 --- a/misc/tkman/Makefile +++ b/misc/tkman/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \ NO_CDROM= "License required" post-patch: - perl -pi -e "s;/usr/local/bin/wish;${LOCALBASE}/bin/wish8.3;" \ + ${PERL} -pi -e "s;/usr/local/bin/wish;${LOCALBASE}/bin/wish8.3;" \ ${WRKSRC}/contrib/tkmanclient post-install: diff --git a/misc/tkman/files/patch-aa b/misc/tkman/files/patch-aa index ce3f54572412..14f0295d627a 100644 --- a/misc/tkman/files/patch-aa +++ b/misc/tkman/files/patch-aa @@ -8,7 +8,7 @@ +#WISH = /private/share/bin/wish #WISH = /private/share/bin/wish8.3 -#WISH = /usr/local/bin/wish8.3 -+WISH = /usr/local/bin/wish8.3 ++WISH = ${LOCALBASE}/bin/wish8.3 # the executable `tkman' is placed in BINDIR # this should be a directory that's in your bin PATH |