summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
committerjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
commit5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 (patch)
tree185ab29c04b06eec36c6497410047b36b8b6958d /comms
parent26ffd9ecf001eea6ac61f806c06dfb733a4c6634 (diff)
downloadpkgsrc-5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6.tar.gz
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'comms')
-rw-r--r--comms/conserver/Makefile12
-rw-r--r--comms/hylafax/Makefile8
2 files changed, 2 insertions, 18 deletions
diff --git a/comms/conserver/Makefile b/comms/conserver/Makefile
index fa45795787a..9540f4be03f 100644
--- a/comms/conserver/Makefile
+++ b/comms/conserver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/06/09 20:37:53 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/19 09:04:05 jlam Exp $
# FreeBSD Id: ports/comms/conserver-com/Makefile,v 1.1 2001/12/09 14:40:12 kur iyama Exp
DISTNAME= conserver-7.2.1
@@ -28,18 +28,8 @@ CONF_FILES+= ${EGDIR}/conserver.passwd.example ${PKG_SYSCONFDIR}/conserver.passw
OWN_DIRS= /var/consoles
pre-install:
- @for script in ${RCD_SCRIPTS}; do \
- ${SED} ${FILES_SUBST_SED} ${FILESDIR}/$${script}.sh \
- > ${WRKDIR}/$${script}; \
- done
${INSTALL_DATA_DIR} ${EGDIR}
-post-install:
- for script in ${RCD_SCRIPTS}; do \
- ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \
- ${PREFIX}/etc/rc.d/$${script}; \
- done
-
.include "../../security/tcp_wrappers/buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 53b6a683ea2..20a326b62ad 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2002/09/13 06:53:32 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2002/09/19 09:04:06 jlam Exp $
#
DISTNAME= hylafax-4.1
@@ -31,15 +31,9 @@ MANCOMPRESSED= yes
SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
-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/ghostscript.mk"
.include "../../mk/bsd.pkg.install.mk"