aboutsummaryrefslogtreecommitdiff
path: root/net/freeradius/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2003-12-09 10:19:25 +0000
committerThomas Gellekum <tg@FreeBSD.org>2003-12-09 10:19:25 +0000
commit4e343be25b43979bbddea2b86dfac38979dfeb55 (patch)
treee6cadb66f788fce9e884bf3302b6d2cd5cfb60ba /net/freeradius/Makefile
parent9233fb0fc94555b47134424e1b90052631bf9203 (diff)
downloadports-4e343be25b43979bbddea2b86dfac38979dfeb55.tar.gz
ports-4e343be25b43979bbddea2b86dfac38979dfeb55.zip
Notes
Diffstat (limited to 'net/freeradius/Makefile')
-rw-r--r--net/freeradius/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index df34c249581a..43660749f686 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -27,7 +27,8 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --quiet --with-logdir=${LOGDIR} \
--localstatedir=/var \
--disable-ltdl-install \
--with-ltdl-include=${LOCALBASE}/include \
- --with-ltdl-lib=${LOCALBASE}/lib
+ --with-ltdl-lib=${LOCALBASE}/lib \
+ --with-large-files
PLIST_SUB= PORTVERSION=${PORTVERSION}
.if defined(WITH_OPENLDAP)
@@ -46,6 +47,18 @@ CONFIGURE_ARGS+=--without-rlm_sql_mysql
PLIST_SUB+= MYSQL="@comment "
.endif
+.if defined(WITH_PGSQL) || defined(WITH_POSTGRESQL)
+LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7-client
+PLIST_SUB+= PGSQL=""
+.else
+CONFIGURE_ARGS+=--without-rlm_sql_postgresql
+PLIST_SUB+= PGSQL="@comment "
+.endif
+
+.if defined(NOPORTDOCS)
+MAKE_ENV+= NOPORTDOCS=yes
+.endif
+
# rlm_x99_token seems broken
CONFIGURE_ARGS+=--without-rlm_x99_token
PLIST_SUB+= TOKEN="@comment "
@@ -55,7 +68,7 @@ INSTALLS_SHLIB= yes
MAN1= radclient.1 radlast.1 radtest.1 radwho.1 radzap.1
MAN5= acct_users.5 clients.5 dictionary.5 naslist.5 radiusd.conf.5 \
users.5
-MAN8= radiusd.8 radrelay.8 radwatch.8
+MAN8= radiusd.8 radrelay.8 radwatch.8 rlm_ippool_tool.8
DICTS= dictionary.acc dictionary.alcatel dictionary.alteon \
dictionary.altiga dictionary.aptis dictionary.ascend \
@@ -70,9 +83,9 @@ DICTS= dictionary.acc dictionary.alcatel dictionary.alteon \
dictionary.usr dictionary.versanet
post-install:
- @${MKDIR} ${PREFIX}/etc/raddb ${PREFIX}/share/freeradius
+ @${MKDIR} ${PREFIX}/etc/raddb ${DATADIR}
.for dict in ${DICTS}
- ${INSTALL_DATA} ${WRKSRC}/share/${dict} ${PREFIX}/share/freeradius/${dict}
+ ${INSTALL_DATA} ${WRKSRC}/share/${dict} ${DATADIR}/${dict}
.endfor
${INSTALL_SCRIPT} ${FILESDIR}/radiusd.sh ${PREFIX}/etc/rc.d/radiusd.sh