diff options
Diffstat (limited to 'net/samba-tng/Makefile')
-rw-r--r-- | net/samba-tng/Makefile | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/net/samba-tng/Makefile b/net/samba-tng/Makefile new file mode 100644 index 000000000000..b8e88ef4caa7 --- /dev/null +++ b/net/samba-tng/Makefile @@ -0,0 +1,64 @@ +# New ports collection makefile for: samba +# Date created: 11th May 2002 +# Whom: dwcjr +# +# $FreeBSD$ +# + +PORTNAME= samba-tng +PORTVERSION= 2.6.1c20020507 +CATEGORIES= net +MASTER_SITES= http://www.samba-tng.org/download/tng/ \ + http://samba.cadcamlab.org/debian/woody/ \ + http://something.inethouston.net/~poseiden/ +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}_0.${PORTVERSION:S,c,cvs,} + +MAINTAINER= dwcjr@FreeBSD.org + +GNU_CONFIGURE= YES +INSTALLS_SHLIB= YES +USE_GMAKE= YES +WRKSRC= ${WRKDIR}/tng-clean/source + +# directories +VARDIR= /var +SAMBA_SPOOL= ${VARDIR}/spool/samba +SAMBA_LOGDIR= ${VARDIR}/log +SAMBA_PRIVATE= ${PREFIX}/private +SAMBA_CONFDIR= ${PREFIX}/etc + +CONFIGURE_ARGS= --libdir=${PREFIX}/lib \ + --localstatedir=${VARDIR}/lock \ + --with-privatedir=${SAMBA_PRIVATE} --with-pam \ + --with-logdir=${VARDIR}/log --with-tmpdir=${VARDIR}/run + +MAN1= debug2html.1 make_smbcodepage.1 nmblookup.1 \ + regedit.1 rpcclient.1 smbclient.1 smbrun.1 \ + smbstatus.1 smbtar.1 testparm.1 testprns.1 \ + wbinfo.1 + +MAN5= lmhosts.5 smb.conf.5 smbpasswd.5 + +MAN7= samba.7 + +MAN8= browserd.8 lsarpcd.8 netlogond.8 nmbd.8 rpcclient.8 \ + samedit.8 samrd.8 smbd.8 smbmnt.8 smbmount.8 \ + smbpasswd.8 smbspool.8 smbumount.8 spoolssd.8 \ + srvsvcd.8 svcctld.8 swat.8 winbindd.8 winregd.8 \ + wkssvcd.8 + +.include <bsd.port.pre.mk> + +.if defined(WITH_SYSLOG) +CONFIGURE_ARGS+= --with-syslog +.endif + +.if defined(WITH_MSDFS) +CONFIGURE_ARGS+= --with-msdfs +.endif + +post-install: + @${INSTALL_SCRIPT} ${WRKSRC}/script/samba-init.d ${SAMBA_CONFDIR}/rc.d/samba-tng.sh.sample + @${PERL} -pi.fbsd -e 's|tmpdir=/tmp|tmpdir=/var/run/samba-tng|g' ${SAMBA_CONFDIR}/rc.d/samba-tng.sh.sample + +.include <bsd.port.post.mk> |