openbsd-ports/www/mod_auth_bsd/Makefile
sthen c55dec9048 Better @exec-update lines; don't produce an error with pkg_add updates
if the module is installed but not activated. From Mikolaj Kucharski with
help from halex@, looks good to halex.
2011-09-17 10:29:43 +00:00

40 lines
901 B
Makefile

# $OpenBSD: Makefile,v 1.12 2011/09/17 10:29:43 sthen Exp $
COMMENT= provides HTTP Basic authentication via bsd auth
REVISION= 5
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
MODULES+= apache-module
# ISC-like
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= event
MODAPACHE_NAME= bsd_auth
MODAPACHE_ENABLE= mod_auth_bsd-enable
MODAPACHE_MODULE= mod_auth_bsd.so
NO_REGRESS= Yes
post-build:
@${MODAPACHE_CREATE_ENABLE_SCRIPT}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_bsd
${INSTALL_DATA} ${WRKSRC}/INSTALL \
${PREFIX}/share/doc/mod_auth_bsd/README
${MODAPACHE_INSTALL}
.include <bsd.port.mk>