aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-08 03:17:14 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-06-08 03:17:14 +0800
commitb5696ce71b8a9d8511fa17ff6d8d04ce89f54b45 (patch)
treeac657d905927cf06ca39b5d9fabe28c931368b3f /net/samba
parent3fc7eadff10f7572fb3776a028ba711f8ee3252a (diff)
downloadfreebsd-ports-gnome-b5696ce71b8a9d8511fa17ff6d8d04ce89f54b45.tar.gz
freebsd-ports-gnome-b5696ce71b8a9d8511fa17ff6d8d04ce89f54b45.tar.zst
freebsd-ports-gnome-b5696ce71b8a9d8511fa17ff6d8d04ce89f54b45.zip
Bump portrevision and add WITH_CUPS hooks
PR: 27650 Submitted by: marcus@marcuscom.com Reviewed by: will
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 94219c509cee..d427d1c5910b 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -7,6 +7,7 @@
PORTNAME= samba
PORTVERSION= 2.0.9
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.samba.org/pub/samba/%SUBDIR%/ \
ftp://ring.asahi-net.or.jp/pub/net/samba/%SUBDIR%/ \
@@ -18,6 +19,12 @@ MASTER_SITE_SUBDIR= . old-versions old
MAINTAINER= dwcjr@inethouston.net
+USE_AUTOCONF= yes
+
+.if defined(WITH_CUPS)
+LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups
+.endif
+
# directories
VARDIR= /var
SAMBA_SPOOL= ${VARDIR}/spool/samba
@@ -39,6 +46,10 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
.endif
+.if defined(WITH_CUPS)
+CONFIGURE_ARGS+=--with-cups=${LOCALBASE}
+.endif
+
WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAN1= nmblookup.1 smbstatus.1 smbclient.1 smbrun.1 smbtar.1 \