1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00

Bump portrevision and add hooks for WITH_CUPS

PR:		27650
Submitted by:	marcus@marcuscom.com
Reviewed by:	will
This commit is contained in:
David W. Chapman Jr. 2001-06-07 19:18:42 +00:00
parent 4add485a53
commit 8be5097d95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43608
2 changed files with 22 additions and 2 deletions

View File

@ -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"

View File

@ -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"