summaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-03 22:32:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-03 22:32:23 +0000
commit438abed7248088caba4b566abe73b6739cd4e9aa (patch)
tree728a42ce2665d82a366c34134546094e85ecfd27 /comms/hylafax/Makefile
parentMake port localbase clean (diff)
make port more localbase clean
Notes
Notes: svn path=/head/; revision=88460
Diffstat (limited to '')
-rw-r--r--comms/hylafax/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 80e396b54571..c082f8da8b69 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -67,8 +67,9 @@ post-extract:
${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex
post-patch:
- ${REINPLACE_CMD} -Ee 's,^(DIR.*=.*)/usr/local,\1${PREFIX},g' \
- -e 's,/usr/local/man,${PREFIX}/man,g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -E \
+ -e 's,/usr/local,${LOCALBASE},g' \
+ ${WRKSRC}/configure
pre-install:
PLIST_SUB= SPOOL="`${GREP} SPOOL ${WRKSRC}/defs | ${CUT} -c10-`"