summaryrefslogtreecommitdiff
path: root/net/samba35/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba35/Makefile')
-rw-r--r--net/samba35/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/samba35/Makefile b/net/samba35/Makefile
index 781a2a959d2..ab4e346eb16 100644
--- a/net/samba35/Makefile
+++ b/net/samba35/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.34 2014/03/03 08:31:02 obache Exp $
+# $NetBSD: Makefile,v 1.35 2014/03/03 08:46:45 obache Exp $
.include "../../net/samba/Makefile.mirrors"
DISTNAME= samba-${VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${SAMBA_MIRRORS:=stable/}
@@ -116,6 +116,12 @@ SUBST_FILES.paths= ${WRKDIR}/adduser.sh ${WRKDIR}/deluser.sh
SUBST_STAGE.paths= post-patch
SUBST_VARS.paths+= AWK CAT MKTEMP RM PWD_MKDB SH
+SUBST_CLASSES+= def-cfg
+SUBST_MESSAGE.def-cfg= Fixing default config files
+SUBST_FILES.def-cfg= ${WRKDIR}/${DISTNAME}/examples/smb.conf.default
+SUBST_STAGE.def-cfg= post-configure
+SUBST_VARS.def-cfg= SAMBA_LOGDIR
+
post-extract:
${CP} ${FILESDIR}/adduser.sh ${FILESDIR}/deluser.sh ${WRKDIR}