openbsd-ports/www/mod_auth_radius/Makefile
naddy ac18f81713 Use NO_SHARED_ARCHS rather than hardcoding the list of architectures that
support dynamic loading.  From Xavier Santolaria <xavier@santolaria.net>.
2003-05-22 14:16:22 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2003/05/22 14:16:23 naddy Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
VERSION= 1.5.2
DISTNAME= mod_auth_radius
PKGNAME= ${DISTNAME}-${VERSION}
CATEGORIES= www
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
COMMENT= "Apache RADIUS authentication module"
HOMEPAGE= http://www.freeradius.org/mod_auth_radius/
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/
EXTRACT_SUFX= .tar
MAINTAINER= Joshua Stein <jcs@rt.fm>
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/${PKGNAME}
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:
${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>