openbsd-ports/www/mod_auth_radius/Makefile

40 lines
1018 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2007/06/30 15:32:30 simon Exp $
DISTNAME= mod_auth_radius-1.5.7
PKGNAME= ${DISTNAME}p4
CATEGORIES= www
MODULES+= apache-module
2003-10-18 15:44:41 -04:00
# 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
2003-05-04 20:51:48 -04:00
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}
2003-05-04 20:51:48 -04:00
do-build:
@cd ${WRKSRC}; /usr/sbin/apxs -c mod_auth_radius.c
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
2003-05-04 20:51:48 -04:00
${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>