From 5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 19 Sep 2002 09:04:02 +0000 Subject: Take advantage of the auto-generation and installation of rc.d scripts. --- comms/conserver/Makefile | 12 +----------- comms/hylafax/Makefile | 8 +------- 2 files changed, 2 insertions(+), 18 deletions(-) (limited to 'comms') 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" -- cgit v1.2.3