1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add CVS tags to the files this port installs.

Replace /usr/local in the startup script with ${PREFIX}.
This commit is contained in:
Akinori MUSHA 2002-01-19 10:45:11 +00:00
parent 44c585797b
commit 9e9156f9d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53329
4 changed files with 12 additions and 1 deletions

View File

@ -61,6 +61,10 @@ MAN7= samba.7
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 smbspool.8
MANLANG= "" ja
post-build:
${SED} 's:/usr/local:${PREFIX}:g' ${FILESDIR}/samba.sh.sample \
> ${WRKDIR}/samba.sh.sample
pre-install:
${RM} -f ${WRKDIR}/${DISTNAME}/docs/manpages/smbmnt.8
${RM} -f ${WRKDIR}/${DISTNAME}/docs/manpages/smbmount.8
@ -74,7 +78,7 @@ post-install:
${CP} -rp ${WRKDIR}/${DISTNAME}/examples/* ${PREFIX}/share/examples/samba
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
${ECHO} "Installing ${STARTUP_SCRIPT} startup file." ; \
${INSTALL_SCRIPT} ${FILESDIR}/samba.sh.sample \
${INSTALL_SCRIPT} ${WRKDIR}/samba.sh.sample \
${STARTUP_SCRIPT} ; \
fi
@test -d ${SAMBA_SPOOL} || ${MKDIR} ${SAMBA_SPOOL} && ${CHMOD} 1777 ${SAMBA_SPOOL}

View File

@ -1,3 +1,5 @@
$FreeBSD$
If you want to use samba ports,
1. Copy /usr/local/etc/smb.conf.default to /usr/local/etc/smb.conf, and edit

View File

@ -1,4 +1,7 @@
#!/bin/sh
#
# $FreeBSD$
smbspool=/var/spool/samba
pidfiledir=/var/run
smbd=/usr/local/sbin/smbd

View File

@ -1,3 +1,5 @@
# $FreeBSD$
#
# これは Samba の設定ファイルです。
# ここで列挙されているオプションを理解するためには、smb.conf(5) のマニュ
# アルページを読む必要があります。