openbsd-ports/www/mod_auth_bsd/Makefile
naddy cef538783b Fix build now that DEV_RANDOM has disappeared from the apache headers.
No change in the resulting package.  ok robert@
2007-02-21 20:26:33 +00:00

36 lines
939 B
Makefile

# $OpenBSD: Makefile,v 1.5 2007/02/21 20:26:33 naddy Exp $
COMMENT= "provides HTTP Basic authentication via bsd auth"
VERSION= 0.8.2
DISTNAME= bsdauth-${VERSION}
PKGNAME= mod_auth_bsd-${VERSION}
EXTRACT_SUFX= .tgz
CATEGORIES= www
MASTER_SITES= http://www.25thandclement.com/~william/projects/releases/
HOMEPAGE= http://www.25thandclement.com/~william/projects/bsdauth.html
# ISC-like
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= event
NO_REGRESS= Yes
post-build:
@sed 's,_PREFIX_,${PREFIX},' \
< ${FILESDIR}/mod_auth_bsd-enable \
> ${WRKBUILD}/mod_auth_bsd-enable
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_bsd
${INSTALL_DATA} ${WRKSRC}/INSTALL \
${PREFIX}/share/doc/mod_auth_bsd/README
${INSTALL_DATA} ${WRKBUILD}/mod_auth_bsd.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKBUILD}/mod_auth_bsd-enable ${PREFIX}/sbin
.include <bsd.port.mk>