openbsd-ports/net/radiusd-cistron/Makefile

54 lines
1.6 KiB
Makefile
Raw Normal View History

2006-04-16 10:42:13 -04:00
# $OpenBSD: Makefile,v 1.22 2006/04/16 14:42:13 sturm Exp $
COMMENT= "Cistron RADIUS server"
2000-05-25 21:44:10 -04:00
2004-07-12 09:32:11 -04:00
VERSION= 1.6.7
DISTNAME= radiusd-cistron-${VERSION}
2006-04-16 10:42:13 -04:00
PKGNAME= ${DISTNAME}p0
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/
HOMEPAGE= http://www.radius.cistron.nl/
2000-07-12 22:27:22 -04:00
RUN_DEPENDS= ::net/p5-Net-Telnet \
::net/p5-SNMP_Session
2000-09-23 15:59:51 -04:00
MAINTAINER= Dan Harnett <danh@openbsd.org>
2000-05-25 21:44:10 -04:00
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
MAKE_FLAGS+= CC="${CC}" LCRYPT="" DBM="-DUSE_DB1" DBMLIBS="" \
CFLAGS="${CFLAGS} -DNOSHADOW -DUSE_SYSLOG"
FAKE_FLAGS+= BINDIR='${WRKINST}${PREFIX}/bin' \
SBINDIR='${WRKINST}${PREFIX}/sbin' \
2001-12-17 15:47:47 -05:00
MANDIR='${WRKINST}${PREFIX}/man' \
RADIUS_DIR='${WRKINST}${PREFIX}/share/examples/radiusd-cistron'
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
${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>