aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-04 06:32:23 +0800
committeredwin <edwin@FreeBSD.org>2003-09-04 06:32:23 +0800
commitf9573d024c1ea7f8bad2304a4f55a0153d151887 (patch)
tree3ffc5ad002c920bae494a5b5c5dc1edae143d18f /comms
parentccd83cfe3edcd5833023d6d826a80d5deb23be89 (diff)
downloadfreebsd-ports-gnome-f9573d024c1ea7f8bad2304a4f55a0153d151887.tar.gz
freebsd-ports-gnome-f9573d024c1ea7f8bad2304a4f55a0153d151887.tar.zst
freebsd-ports-gnome-f9573d024c1ea7f8bad2304a4f55a0153d151887.zip
make port more localbase clean
Diffstat (limited to 'comms')
-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-`"