diff options
-rw-r--r-- | net/samba/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 94219c5..d427d1c 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 \ |