2001-11-13 15:31:23 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2001/11/13 20:31:23 danh Exp $
|
2001-03-28 14:35:25 -05:00
|
|
|
|
|
|
|
COMMENT= "Cistron RADIUS server"
|
2000-05-25 21:44:10 -04:00
|
|
|
|
2001-02-05 13:12:02 -05:00
|
|
|
DISTNAME= radiusd-cistron-1.6.4
|
2000-07-12 20:25:51 -04:00
|
|
|
CATEGORIES= net
|
2001-11-13 15:27:55 -05:00
|
|
|
NEED_VERSION= 1.496
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/src
|
|
|
|
MAKE_FILE= Makefile.BSD
|
2001-02-05 13:12:02 -05:00
|
|
|
MAKE_FLAGS+= CC="${CC}" CFLAGS="${CFLAGS} -DNOSHADOW -DNDBM" LCRYPT=""
|
2000-07-12 20:25:51 -04:00
|
|
|
FAKE_FLAGS+= BINDIR='${WRKINST}${PREFIX}/bin' \
|
|
|
|
SBINDIR='${WRKINST}${PREFIX}/sbin' \
|
|
|
|
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:
|
2000-07-12 20:25:51 -04:00
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/naslist.5rad ${PREFIX}/man/man5/naslist.5
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/clients.5rad ${PREFIX}/man/man5/clients.5
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/builddbm.8rad \
|
|
|
|
${PREFIX}/man/man8/builddbm.8
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/doc/radiusd.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-cistron
|
|
|
|
@for file in ${WRKDIST}/doc/README* ; do \
|
|
|
|
${INSTALL_DATA} $$file ${PREFIX}/share/doc/radiusd-cistron; \
|
|
|
|
done
|
2000-05-25 21:44:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|