summaryrefslogtreecommitdiff
path: root/net/samba20
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-19 09:04:02 +0000
committerjlam <jlam>2002-09-19 09:04:02 +0000
commitd1a32f9d3becd23c08ad93d8cddbfd1ba1ce672c (patch)
tree185ab29c04b06eec36c6497410047b36b8b6958d /net/samba20
parent504b932bf8ad52e5d5ac8e46b820da53731eca36 (diff)
downloadpkgsrc-d1a32f9d3becd23c08ad93d8cddbfd1ba1ce672c.tar.gz
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'net/samba20')
-rw-r--r--net/samba20/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/net/samba20/Makefile b/net/samba20/Makefile
index 70987a6af4f..9a3b05e9a2a 100644
--- a/net/samba20/Makefile
+++ b/net/samba20/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/09/18 21:15:16 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2002/09/19 09:04:18 jlam Exp $
DISTNAME= samba-2.0.10
WRKSRC= ${WRKDIR}/${DISTNAME}/source
@@ -66,12 +66,6 @@ RCD_SCRIPTS= samba nmbd smbd
MAKE_DIRS= ${SAMBA_LOCKDIR}
OWN_DIRS= ${SAMBA_ETCDIR} ${SAMBA_PRIVATE}
-pre-install:
- for script in ${RCD_SCRIPTS}; do \
- ${SED} ${FILES_SUBST_SED} ${FILESDIR}/$${script}.sh \
- > ${WRKDIR}/$${script}; \
- done
-
post-install:
# Install Samba documentation.
${INSTALL_DATA_DIR} ${DOCDIR} ${HTMLDIR}
@@ -85,10 +79,6 @@ post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
${CHMOD} -R ugo-w ${EXAMPLESDIR}
- for script in ${RCD_SCRIPTS}; do \
- ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \
- ${PREFIX}/etc/rc.d/$${script}; \
- done
${MV} ${PREFIX}/bin/convert_smbpasswd ${PREFIX}/sbin/convert_smbpasswd
${INSTALL_SCRIPT} ${WRKSRC}/script/mksmbpasswd.sh \
${PREFIX}/sbin/mksmbpasswd