diff options
author | agc <agc@pkgsrc.org> | 1997-12-24 10:52:31 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-12-24 10:52:31 +0000 |
commit | ebeab1d3b38e2546f7f5bdc393388e9c3d7543e4 (patch) | |
tree | a5606057fe650ae189633194fa2e28e19d5470bf /net/samba/Makefile | |
parent | e584ba82ccc2d549b207ba77160172b14d0077c2 (diff) | |
download | pkgsrc-ebeab1d3b38e2546f7f5bdc393388e9c3d7543e4.tar.gz |
Clean up a sed command, and lose two inappropriate and duplicate
Makefile definitions in the process.
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r-- | net/samba/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 977fabcfc6e..6db889f0dfb 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -3,7 +3,7 @@ # Date created: 11th Feb 1995 # Whom: gpalmer # -# $NetBSD: Makefile,v 1.2 1997/12/24 10:35:27 agc Exp $ +# $NetBSD: Makefile,v 1.3 1997/12/24 10:52:31 agc Exp $ # FreeBSD Id: Makefile,v 1.17 1997/10/23 15:03:20 max Exp # @@ -23,9 +23,7 @@ MAN8= smbd.8 nmbd.8 smbpasswd.8 STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample SAMPLE_CONFIG= ${PREFIX}/etc/smb.conf.sample SAMBA_SPOOL= /var/spool/samba -XSAMBA_SPOOL= \/var\/spool\/samba SAMBA_LOGDIR= /var/log -XSAMBA_LOGDIR= \/var\/log post-install: .if !defined(NOPORTDOCS) @@ -52,8 +50,8 @@ post-install: fi @test -d ${SAMBA_SPOOL} || ${MKDIR} ${SAMBA_SPOOL} && chmod 1777 ${SAMBA_SPOOL} @if [ ! -f ${SAMPLE_CONFIG} ]; then \ - ${SED} -e 's/__SAMBA_SPOOL__/${XSAMBA_SPOOL}/' \ - -e 's/__LOGDIR__/${XSAMBA_LOGDIR}/' \ + ${SED} -e 's:__SAMBA_SPOOL__:${SAMBA_SPOOL}:g' \ + -e 's:__LOGDIR__:${SAMBA_LOGDIR}:g' \ ${FILESDIR}/smb.conf.sample \ > ${SAMPLE_CONFIG} ; \ fi |