summaryrefslogtreecommitdiffstats
path: root/net
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
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')
-rw-r--r--net/samba-devel/Makefile12
-rw-r--r--net/samba3/Makefile12
2 files changed, 22 insertions, 2 deletions
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile
index 0480276..b22ada0 100644
--- a/net/samba-devel/Makefile
+++ b/net/samba-devel/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"
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