openbsd-ports/www/mod_auth_radius/Makefile

38 lines
983 B
Makefile

# $OpenBSD: Makefile,v 1.18 2007/11/16 14:12:34 kili Exp $
DISTNAME= mod_auth_radius-1.5.7
PKGNAME= ${DISTNAME}p4
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>