aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-07 19:17:14 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-07 19:17:14 +0000
commit3fbfb552dfcce2bf4c49faf21389637a1ae24483 (patch)
tree02dc9c9aa2df5ff0f60aeea6fe1675a4e4844b12 /net
parent0b8cf7228fb27d24a9fde70f8fb3fe0ca800b895 (diff)
downloadports-3fbfb552dfcce2bf4c49faf21389637a1ae24483.tar.gz
ports-3fbfb552dfcce2bf4c49faf21389637a1ae24483.zip
Notes
Diffstat (limited to 'net')
-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 \