:brad: remove the bogus BUILD_DEPENDS

This commit is contained in:
henning 2003-05-05 00:44:59 +00:00
parent 315c0b0687
commit 4f3d1269cb

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.6 2002/12/29 15:03:57 fgsch Exp $
# $OpenBSD: Makefile,v 1.7 2003/05/05 00:44:59 henning Exp $
# This port currently only works with archs supporting dynamic loading
# and has Apache that supports DSO's.
ONLY_FOR_ARCHS= alpha i386 m68k powerpc sparc sparc64
VERSION= 1.5.2
DISTNAME= mod_auth_radius
PKGNAME= ${DISTNAME}-${VERSION}
VERSION= 1.6.0
DISTNAME= auth_ldap-${VERSION}
PKGNAME= mod_auth_ldap-${VERSION}
CATEGORIES= www
PERMIT_PACKAGE_CDROM= Yes
@ -14,30 +14,25 @@ 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
COMMENT= "Apache LDAP authentication module"
HOMEPAGE= http://www.rudedog.org/auth_ldap/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Joshua Stein <jcs@rt.fm>
LIB_DEPENDS=ldap,lber::databases/openldap
MAINTAINER= Henning Brauer <henning@openbsd.org>
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/${PKGNAME}
CONFIGURE_STYLE=gnu
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
post-build:
sed 's,!!PREFIX!!,${PREFIX},' \
< ${FILESDIR}/mod_auth_ldap-enable \
> ${WRKBUILD}/mod_auth_ldap-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
${INSTALL_DATA} ${WRKBUILD}/auth_ldap.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_ldap-enable ${PREFIX}/sbin
.include <bsd.port.mk>