aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/samba20/Makefile6
-rw-r--r--japanese/samba20/files/README.FreeBSD2
-rw-r--r--japanese/samba20/files/samba.sh.sample3
-rw-r--r--japanese/samba20/files/smb.conf.default2
4 files changed, 12 insertions, 1 deletions
diff --git a/japanese/samba20/Makefile b/japanese/samba20/Makefile
index 68ab69192e12..3908ba650cb1 100644
--- a/japanese/samba20/Makefile
+++ b/japanese/samba20/Makefile
@@ -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}
diff --git a/japanese/samba20/files/README.FreeBSD b/japanese/samba20/files/README.FreeBSD
index cba6497c58d1..5d18df30a1bb 100644
--- a/japanese/samba20/files/README.FreeBSD
+++ b/japanese/samba20/files/README.FreeBSD
@@ -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
diff --git a/japanese/samba20/files/samba.sh.sample b/japanese/samba20/files/samba.sh.sample
index e6807ad6d145..d0cada27c422 100644
--- a/japanese/samba20/files/samba.sh.sample
+++ b/japanese/samba20/files/samba.sh.sample
@@ -1,4 +1,7 @@
#!/bin/sh
+#
+# $FreeBSD$
+
smbspool=/var/spool/samba
pidfiledir=/var/run
smbd=/usr/local/sbin/smbd
diff --git a/japanese/samba20/files/smb.conf.default b/japanese/samba20/files/smb.conf.default
index 374d87a5d41e..4b8767a76d06 100644
--- a/japanese/samba20/files/smb.conf.default
+++ b/japanese/samba20/files/smb.conf.default
@@ -1,3 +1,5 @@
+# $FreeBSD$
+#
# これは Samba の設定ファイルです。
# ここで列挙されているオプションを理解するためには、smb.conf(5) のマニュ
# アルページを読む必要があります。