summaryrefslogtreecommitdiff
path: root/net/radiator/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-26 10:06:35 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-26 10:06:35 +0000
commit3398de7f2ffde6ccfa05994a8c1cb30bd9f6d9bf (patch)
tree8c9d621a70128c1723cb13becd914a617c47ea14 /net/radiator/Makefile
parentupdated to the latest package (diff)
- Update to 3.16
- Add optional MySQL support (default off) PR: ports/109475 Submitted by: Jim Pingle <lists at pingle.org> Approved by: Shan Ali Khan <shanali at yahoo.com> (maintainer)
Notes
Notes: svn path=/head/; revision=185965
Diffstat (limited to 'net/radiator/Makefile')
-rw-r--r--net/radiator/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/radiator/Makefile b/net/radiator/Makefile
index ce9017b1afdd..c783c5eb3bb3 100644
--- a/net/radiator/Makefile
+++ b/net/radiator/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Radiator
-PORTVERSION= 3.11
+PORTVERSION= 3.16
CATEGORIES= net
MASTER_SITES= # fetch manually
EXTRACT_SUFX= .tgz
@@ -15,6 +15,8 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= shanali@yahoo.com
COMMENT= Radiator Radius Server by Open System Consultants
+OPTIONS= MYSQL "MySQL Support" off
+
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -34,6 +36,10 @@ IGNORE= will not be automatically fetched due to licensing\
same directory as well)
.endif
+.if defined(WITH_MYSQL)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+.endif
+
pre-configure:
.if exists(${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz)
${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC}