aboutsummaryrefslogtreecommitdiff
path: root/misc/dotfile
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 /misc/dotfile
parent08436d780099b5b9549d412fe146fb0733c19412 (diff)
downloadports-40a33a607008465f53d5a6195b52da563743c5c1.tar.gz
ports-40a33a607008465f53d5a6195b52da563743c5c1.zip
Notes
Diffstat (limited to 'misc/dotfile')
-rw-r--r--misc/dotfile/Makefile5
-rw-r--r--misc/dotfile/files/patch-af2
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