do not reinplace what can be changed by patch

This commit is contained in:
Max Khon 2003-01-24 00:06:55 +00:00
parent 38cc5d1b9d
commit b3de02ff79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73889
2 changed files with 15 additions and 9 deletions

View File

@ -15,14 +15,6 @@ MAINTAINER= fjoe@FreeBSD.org
WRKSRC= ${WRKDIR}/huskybse-${PORTVERSION}
NO_BUILD= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} \
-e 's^CFGDIR=/etc/fido^CFGDIR=$$(PREFIX)/etc/fido^' \
-e 's^# INFODIR=/usr/local^INFODIR=$$(PREFIX)^' \
-e 's^#HTMLDIR=$$(PREFIX)/lib/husky^HTMLDIR=$$(PREFIX)/share/doc/husky^' \
${WRKSRC}/huskymak.cfg
pre-install:
@ ${SETENV} PKG_PREFIX=${PREFIX} \

View File

@ -1,5 +1,19 @@
--- huskymak.cfg.orig Tue May 1 12:37:48 2001
+++ huskymak.cfg Thu Jan 9 03:51:35 2003
+++ huskymak.cfg Fri Jan 24 00:00:50 2003
@@ -35,11 +35,11 @@
# will not be compiled, and you won't know how to use the software ;-).
# You should take care that this directory is listed in the INFOPATH
# environment variable (if necessary, modify your /etc/profile file).
-# INFODIR=/usr/local/info
+INFODIR=$(PREFIX)/info
# The same as above, but for HTML documentation. This requires a working
# "texi2html" program.
-#HTMLDIR=$(PREFIX)/lib/husky
+HTMLDIR=$(PREFIX)/share/doc/husky
# Name of the config file of MSGED TE:
MSGEDCFG=\"$(CFGDIR)/msged.cfg\"
@@ -108,7 +108,7 @@
# update dynamic library cache