diff options
author | knu <knu@FreeBSD.org> | 2002-01-19 18:45:11 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-19 18:45:11 +0800 |
commit | ec1dcff9b1ba6c74eaa7a4872af159ea9c9f3976 (patch) | |
tree | 0c05652af97a217191fed55044e7f05fa628add2 /japanese | |
parent | df112c846a573d9e96c887cb2cd7a2f910a61bb9 (diff) | |
download | freebsd-ports-gnome-ec1dcff9b1ba6c74eaa7a4872af159ea9c9f3976.tar.gz freebsd-ports-gnome-ec1dcff9b1ba6c74eaa7a4872af159ea9c9f3976.tar.zst freebsd-ports-gnome-ec1dcff9b1ba6c74eaa7a4872af159ea9c9f3976.zip |
Add CVS tags to the files this port installs.
Replace /usr/local in the startup script with ${PREFIX}.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/samba20/Makefile | 6 | ||||
-rw-r--r-- | japanese/samba20/files/README.FreeBSD | 2 | ||||
-rw-r--r-- | japanese/samba20/files/samba.sh.sample | 3 | ||||
-rw-r--r-- | japanese/samba20/files/smb.conf.default | 2 |
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) のマニュ # アルページを読む必要があります。 |