aboutsummaryrefslogtreecommitdiff
path: root/www/sams
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-09-30 16:15:53 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-09-30 16:15:53 +0000
commit45c29240ea5ccf942e3c818308f713d101e651ae (patch)
treeb153ed0994560d51e7e8670d4404d20da7e4df13 /www/sams
parentd9a4ba600fb4067c97390c058f3e498686678981 (diff)
Notes
Diffstat (limited to 'www/sams')
-rw-r--r--www/sams/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 35215771608b..bc3fda071b99 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sams
DISTVERSION= 1.0.5
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://sams.perm.ru/download/ \
@@ -19,6 +19,8 @@ COMMENT= Squid 2.x Accounting Management System
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
+SAMBA_PORT?= net/samba34
+
USE_RC_SUBR= sams.sh
OPTIONS= NTLM "NTLM autorization/ActiveDirectory support" off \
@@ -42,7 +44,7 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if defined(WITH_NTLM)
-RUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/net/samba3
+RUN_DEPENDS= ${LOCALBASE}/bin/ntlm_auth:${PORTSDIR}/${SAMBA_PORT}
USE_PHP+= ldap
.endif