summaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-10-01 11:22:36 +0000
committerrh <rh@pkgsrc.org>2000-10-01 11:22:36 +0000
commit3c8b74ffbff082dcf5d29fd0a1a72ab535f68f2a (patch)
treee1c22aef4a3a7e0a87a8a1c4ead09238e127aaa5 /comms/hylafax/Makefile
parentd658778a069b58b25775f98e080e241d4f2cf8e7 (diff)
downloadpkgsrc-3c8b74ffbff082dcf5d29fd0a1a72ab535f68f2a.tar.gz
Merge the two post-install targets into one. Fixes package installation.
Diffstat (limited to 'comms/hylafax/Makefile')
-rw-r--r--comms/hylafax/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index c2fd53477ed..230ca254169 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/09/20 05:14:10 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2000/10/01 11:22:36 rh Exp $
#
DISTNAME= hylafax-4.1beta2
@@ -34,16 +34,14 @@ MANCOMPRESSED= yes
SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
-post-install:
- ${CHOWN} ${FAXUSER} ${SUID_EXES}
- ${CHMOD} 4555 ${SUID_EXES}
-
post-build:
${SED} -e 's#@SSH_CONF_DIR@#${SSH_CONF_DIR}#g' \
-e 's#@PREFIX@#${PREFIX}#g' \
<${FILESDIR}/hylafax.sh >${WRKDIR}/hylafax.sh; \
post-install:
+ ${CHOWN} ${FAXUSER} ${SUID_EXES}
+ ${CHMOD} 4555 ${SUID_EXES}
${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh ${PREFIX}/etc/rc.d/hylafax
.include "../../mk/bsd.pkg.mk"