aboutsummaryrefslogtreecommitdiff
path: root/net/samba3
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-07 19:18:42 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-07 19:18:42 +0000
commit8be5097d9589d3e4169a0a8dcea3dd98d2e02440 (patch)
treea2708200925531ec390083ce4911602b88f769e1 /net/samba3
parent4add485a53d4a5c4a73dabed5ce9d7ae1352b04d (diff)
downloadports-8be5097d9589d3e4169a0a8dcea3dd98d2e02440.tar.gz
ports-8be5097d9589d3e4169a0a8dcea3dd98d2e02440.zip
Notes
Diffstat (limited to 'net/samba3')
-rw-r--r--net/samba3/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index 0480276d6178..b22ada06ade5 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"