openbsd-ports/www/mod_auth_radius/Makefile
2010-09-26 17:45:13 +00:00

38 lines
976 B
Makefile

# $OpenBSD: Makefile,v 1.21 2010/09/26 17:45:13 sebastia Exp $
REVISION= 7
DISTNAME= mod_auth_radius-1.5.7
CATEGORIES= www
MODULES+= apache-module
# Apache
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODAPACHE_NAME= radius_auth
MODAPACHE_ENABLE= mod_auth_radius-enable
MODAPACHE_MODULE= mod_auth_radius.so
COMMENT= Apache RADIUS authentication module
HOMEPAGE= http://www.freeradius.org/mod_auth_radius/
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/
EXTRACT_SUFX= .tar
NO_REGRESS= Yes
do-build:
@cd ${WRKSRC}; /usr/sbin/apxs -c mod_auth_radius.c
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_auth_radius
${INSTALL_DATA} ${WRKSRC}/httpd.conf \
${PREFIX}/share/examples/mod_auth_radius/httpd.conf-example
${INSTALL_DATA} ${WRKSRC}/htaccess \
${PREFIX}/share/examples/mod_auth_radius/htaccess-example
${MODAPACHE_INSTALL}
.include <bsd.port.mk>