openbsd-ports/www/mod_auth_radius/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2004/06/18 16:24:19 jcs Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
DISTNAME= mod_auth_radius-1.5.7
CATEGORIES= www
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
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
2003-05-04 20:51:48 -04:00
MAINTAINER= Joshua Stein <jcs@rt.fm>
NO_REGRESS= Yes
2003-05-04 20:51:48 -04:00
WRKDIST= ${WRKDIR}/${PKGNAME}
2003-05-04 20:51:48 -04:00
do-build:
@cd ${WRKSRC}; /usr/sbin/apxs -c mod_auth_radius.c
@sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_auth_radius-enable \
> ${WRKBUILD}/mod_auth_radius-enable
do-install:
2003-05-04 20:51:48 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_auth_radius
${INSTALL_DATA} ${WRKSRC}/mod_auth_radius.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_radius-enable ${PREFIX}/sbin
${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
.include <bsd.port.mk>