openbsd-ports/www/mod_auth_radius/Makefile
simon 012efb2a57 finish switch to apache module framework, change license for
mod_auth_mysql and remove two maintainers on their own request

feedback & ok steven@
2007-06-26 19:19:45 +00:00

40 lines
1018 B
Makefile

# $OpenBSD: Makefile,v 1.15 2007/06/26 19:19:46 simon Exp $
DISTNAME= mod_auth_radius-1.5.7
PKGNAME= ${DISTNAME}p3
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
WRKDIST= ${WRKDIR}/${DISTNAME}
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>