2011-05-11 08:03:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2011/05/11 12:03:19 jasper Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= Cistron RADIUS server
|
2000-05-25 21:44:10 -04:00
|
|
|
|
2004-07-12 09:32:11 -04:00
|
|
|
VERSION= 1.6.7
|
2001-11-20 13:54:55 -05:00
|
|
|
DISTNAME= radiusd-cistron-${VERSION}
|
2011-05-11 08:03:19 -04:00
|
|
|
REVISION= 3
|
2000-07-12 20:25:51 -04:00
|
|
|
CATEGORIES= net
|
2001-11-13 15:31:23 -05:00
|
|
|
MASTER_SITES= ftp://ftp.radius.cistron.nl/pub/radius/ \
|
2000-09-06 15:08:18 -04:00
|
|
|
ftp://ftp.freeradius.org/pub/radius/ \
|
|
|
|
ftp://ftp.mma.com.br/pub/cistron-radius/
|
2000-08-29 12:44:29 -04:00
|
|
|
|
2001-11-13 15:27:55 -05:00
|
|
|
HOMEPAGE= http://www.radius.cistron.nl/
|
2000-07-12 22:27:22 -04:00
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
RUN_DEPENDS= net/p5-Net-Telnet \
|
|
|
|
net/p5-SNMP_Session
|
2002-05-11 17:38:15 -04:00
|
|
|
|
2011-04-17 14:19:37 -04:00
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2000-05-25 21:44:10 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/src
|
|
|
|
MAKE_FILE= Makefile.BSD
|
2002-02-15 16:06:06 -05:00
|
|
|
MAKE_FLAGS+= CC="${CC}" LCRYPT="" DBM="-DUSE_DB1" DBMLIBS="" \
|
2010-05-23 12:30:03 -04:00
|
|
|
CFLAGS="${CFLAGS} -DNOSHADOW -DUSE_SYSLOG -fno-builtin-log"
|
2000-07-12 20:25:51 -04:00
|
|
|
FAKE_FLAGS+= BINDIR='${WRKINST}${PREFIX}/bin' \
|
|
|
|
SBINDIR='${WRKINST}${PREFIX}/sbin' \
|
2001-12-17 15:47:47 -05:00
|
|
|
MANDIR='${WRKINST}${PREFIX}/man' \
|
2000-07-12 20:25:51 -04:00
|
|
|
RADIUS_DIR='${WRKINST}${PREFIX}/share/examples/radiusd-cistron'
|
2010-10-18 17:50:38 -04:00
|
|
|
USE_GROFF = Yes
|
2001-11-13 15:14:39 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-05-25 21:44:10 -04:00
|
|
|
|
|
|
|
post-install:
|
2002-02-15 16:28:50 -05:00
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/clients.5rad ${PREFIX}/man/man5/clients.5
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/naslist.5rad ${PREFIX}/man/man5/naslist.5
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/builddbm.8rad \
|
|
|
|
${PREFIX}/man/man8/builddbm.8
|
2000-07-12 20:25:51 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-cistron
|
|
|
|
@for file in ${WRKDIST}/doc/README* ; do \
|
|
|
|
${INSTALL_DATA} $$file ${PREFIX}/share/doc/radiusd-cistron; \
|
|
|
|
done
|
2004-07-12 09:32:11 -04:00
|
|
|
@perl -pi -e "s#[ ]SHAREDIR# ${SYSCONFDIR}/raddb#g" \
|
|
|
|
${WRKDIST}/raddb/dictionary
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusd-cistron
|
|
|
|
@for file in ${WRKDIST}/raddb/* ; do \
|
|
|
|
${INSTALL_DATA} $$file \
|
|
|
|
${PREFIX}/share/examples/radiusd-cistron; \
|
|
|
|
done
|
2000-05-25 21:44:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|