openbsd-ports/net/radiusd-lucent/Makefile

59 lines
2.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.24 2010/07/12 22:07:41 sthen Exp $
COMMENT= Lucent remote access RADIUS server
2000-08-17 21:15:03 -04:00
DISTNAME= radius21
PKGNAME= radiusd-lucent-2.1
REVISION= 8
2000-08-17 21:15:03 -04:00
CATEGORIES= net
MASTER_SITES= http://www.vergenet.net/linux/radius/download/
PATCHFILES= radius-2.1.comprehensive.6.patch.gz
EXTRACT_SUFX= .tar.Z
2000-08-17 21:15:03 -04:00
2002-09-12 11:22:33 -04:00
HOMEPAGE= http://www.vergenet.net/linux/radius/
# BSD-like
2000-08-17 21:15:03 -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-08-17 21:15:03 -04:00
WRKDIST= ${WRKDIR}
WRKSRC= ${WRKDIST}/radius/src
MAKE_FLAGS+= CC="${CC}" CFLAGS="${CFLAGS} -DNOSHADOW -DNDBM" LIBS=""
2001-11-13 15:14:39 -05:00
NO_REGRESS= Yes
2000-08-17 21:15:03 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/builddbm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/dbmkeys ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/dbmrec ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/md5test ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/radtest ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/testuser ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/radiusd ${PREFIX}/sbin
2000-08-17 21:15:03 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusd-lucent
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusd-lucent/menus
${INSTALL_DATA} ${WRKDIST}/radius/raddb/clients \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/examples/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/raddb/dictionary \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/examples/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/raddb/proxy \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/examples/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/raddb/users \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/examples/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/raddb/menus/menu1 \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/examples/radiusd-lucent/menus/
${INSTALL_DATA} ${WRKDIST}/radius/raddb/menus/menu2 \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/examples/radiusd-lucent/menus/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/radiusd-lucent
${INSTALL_DATA} ${WRKDIST}/radius/LICENSE \
${PREFIX}/share/doc/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/README \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/doc/radiusd-lucent/
${INSTALL_DATA} ${WRKDIST}/radius/README.patched \
2000-08-17 21:15:03 -04:00
${PREFIX}/share/doc/radiusd-lucent/
.include <bsd.port.mk>