Add CVS tags to the files this port installs.
Replace /usr/local in the startup script with ${PREFIX}.
This commit is contained in:
parent
44c585797b
commit
9e9156f9d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53329
@ -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}
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
smbspool=/var/spool/samba
|
||||
pidfiledir=/var/run
|
||||
smbd=/usr/local/sbin/smbd
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# これは Samba の設定ファイルです。
|
||||
# ここで列挙されているオプションを理解するためには、smb.conf(5) のマニュ
|
||||
# アルページを読む必要があります。
|
||||
|
Loading…
Reference in New Issue
Block a user