diff options
Diffstat (limited to 'net/samba-tng/Makefile')
-rw-r--r-- | net/samba-tng/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/samba-tng/Makefile b/net/samba-tng/Makefile index 4685307f8c3c..ee6b8aa0394b 100644 --- a/net/samba-tng/Makefile +++ b/net/samba-tng/Makefile @@ -20,6 +20,7 @@ GNU_CONFIGURE= YES INSTALLS_SHLIB= YES USE_GMAKE= YES USE_BZIP2= YES +USE_SUBMAKE= YES USE_AUTOCONF= YES WRKSRC= ${WRKDIR}/tng-clean/source @@ -52,6 +53,13 @@ MAN8= browserd.8 lsarpcd.8 netlogond.8 nmbd.8 rpcclient.8 \ .include<bsd.port.pre.mk> +SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ + TOUCH="${TOUCH}" \ + MKDIR="${MKDIR}" \ + CAT="${CAT}" \ + SAMBA_OPTIONS="${SAMBA_OPTIONS}" \ + REALCURDIR="${.CURDIR}" + .if defined(WITH_SYSLOG) CONFIGURE_ARGS+= --with-syslog .endif @@ -77,6 +85,12 @@ CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib .endif +pre-fetch: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.samba + +post-clean: + @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc + post-install: @${INSTALL_SCRIPT} ${WRKSRC}/script/samba-init.d ${SAMBA_CONFDIR}/rc.d/samba-tng.sh.sample |