openbsd-ports/www/mod_auth_radius/Makefile
brad 4c8b958d9b add ONLY_FOR_ARCHS and specify archs which our in-tree Apache supports
DSO's on. This is so we don't get tripped up on archs that do not have DSO
support yet (i.e. ELF-based archs & static only archs).
--
Pointed out by pval@'s macppc broken ports list
2001-12-15 04:07:29 +00:00

45 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2001/12/15 04:07:29 brad Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
ONLY_FOR_ARCHS= i386 m68k sparc
VERSION= 1.5.2
DISTNAME= mod_auth_radius
PKGNAME= ${DISTNAME}-${VERSION}
CATEGORIES= www
NEED_VERSION= 1.435
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>
WRKDIST= ${WRKDIR}/${PKGNAME}
post-extract:
@cp -f ${FILESDIR}/Makefile.OpenBSD ${WRKSRC}/Makefile
post-build:
@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} ${WRKBUILD}/mod_auth_radius.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_radius-enable ${PREFIX}/sbin
${INSTALL_DATA} ${WRKBUILD}/httpd.conf \
${PREFIX}/share/examples/mod_auth_radius/httpd.conf-example
${INSTALL_DATA} ${WRKBUILD}/htaccess \
${PREFIX}/share/examples/mod_auth_radius/htaccess-example
.include <bsd.port.mk>