# Created by: john@nlc.net.au # $FreeBSD$ PORTNAME= radiusd-cistron PORTVERSION= 1.6.8 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.radius.cistron.nl/pub/radius/ MAINTAINER= ports@FreeBSD.org COMMENT= A RADIUS-compliant remote authentication and accounting server CONFLICTS?= freeradius-0.* gnu-radius-1.* openradius-0.* MAKEFILE= Makefile.BSD RADIUS_DIR= ${PREFIX}/etc/raddb MAKE_ENV+= RADIUS_DIR="${RADIUS_DIR}" DESTROOT="${STAGEDIR}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_RC_SUBR= radiusd-cistron radrelay-cistron DOCFILES= COPYRIGHT INSTALL doc/ChangeLog doc/README doc/README.Y2K \ doc/README.cisco doc/README.pam doc/README.proxy \ doc/README.simul doc/README.usersfile OPTIONS_DEFINE= PAM OPTIONS_DEFAULT=PAM OPTIONS_SUB= yes .include PLIST_SUB+= PAMBASE="/usr/local/etc" do-build: cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} do-install: .if ${PORT_OPTIONS:MPAM} ${MKDIR} ${STAGEDIR}/etc/pam.d .endif cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} install .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .endif .include