summaryrefslogtreecommitdiffstats
path: root/net/samba3/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-07 19:18:42 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-06-07 19:18:42 +0000
commit96a046b359ac2a1052cb68e3808c87632604ba27 (patch)
treef45c3eb5b0c9f5c4060fe6eafc8a6b380a47f99c /net/samba3/Makefile
parentfaf38ec9277fba395c7a1d84d9cc566917facb06 (diff)
downloadFreeBSD-ports-96a046b359ac2a1052cb68e3808c87632604ba27.zip
FreeBSD-ports-96a046b359ac2a1052cb68e3808c87632604ba27.tar.gz
Bump portrevision and add hooks for WITH_CUPS
PR: 27650 Submitted by: marcus@marcuscom.com Reviewed by: will
Diffstat (limited to 'net/samba3/Makefile')
-rw-r--r--net/samba3/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index 0480276..b22ada0 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= samba
PORTVERSION= 2.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \
ftp://samba.anu.edu.au/pub/samba/%SUBDIR%/ \
@@ -20,6 +20,11 @@ DISTNAME= samba-${PORTVERSION}
MAINTAINER= dwcjr@inethouston.net
NO_LATEST_LINK= yes
+USE_AUTOCONF= yes
+
+.if defined(WITH_CUPS)
+LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups
+.endif
# directories
VARDIR= /var
@@ -43,6 +48,11 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
.endif
+.if defined(WITH_CUPS)
+# This enables CUPS printing support in Samba.
+CONFIGURE_ARGS+=--with-cups=${LOCALBASE}
+.endif
+
.if defined(WITH_ACL_SUPPORT)
.if ${OSVERSION} < 500018
BROKEN= "Requires a recent FreeBSD 5.0-CURRENT"
OpenPOWER on IntegriCloud