aboutsummaryrefslogtreecommitdiff
path: root/comms/hylafax
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-10-17 15:43:08 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-10-17 15:43:08 +0000
commit5c9c05f1a5406a3889f410c2b1b43d6030cf7d98 (patch)
tree01c44ea9de1e30dabd5f48b3622fda73c3c8a1ac /comms/hylafax
parentb9d89fac0e3f53d4946ab94b90cff31da830dacc (diff)
downloadports-5c9c05f1a5406a3889f410c2b1b43d6030cf7d98.tar.gz
ports-5c9c05f1a5406a3889f410c2b1b43d6030cf7d98.zip
Notes
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index ccc7b13ca281..70da04e2aaa2 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -58,13 +58,6 @@ SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
post-extract:
${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex
-.if ${LOCALBASE} != "/usr/local"
-post-patch:
- ${PERL} -pi -e 's^/usr/local^${LOCALBASE}^g' \
- `find work/hylafax-4.1 -type f -print0 | \
- xargs -0 fgrep -l --mmap /usr/local`
-.endif
-
post-install:
${CHOWN} uucp ${SUID_EXES}
${CHMOD} 4555 ${SUID_EXES}
@@ -75,4 +68,13 @@ post-install:
fi
@${SED} 's^/usr/local^${PREFIX}^g' < ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${LOCALBASE} != /usr/local
+post-patch:
+ ${PERL} -pi -e 's^/usr/local^${LOCALBASE}^g' \
+ `find work/hylafax-4.1 -type f -print0 | \
+ xargs -0 fgrep -l --mmap /usr/local`
+.endif
+
+.include <bsd.port.post.mk>