pkgsrc/www/ap2-mkdir/Makefile
manu 5760f4f317 Updated www/ap2-mkdir to 0.4
This update avoids auto-creating directories when the request is MKCOL,
because that cause the Apache MKCOL handler to fail with an error  because
the directory already exists.
2018-05-09 12:19:13 +00:00

23 lines
645 B
Makefile

# $NetBSD: Makefile,v 1.3 2018/05/09 12:19:13 manu Exp $
DISTNAME= mod_mkdir-0.4
EXTRACT_SUFX= .tgz
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
CATEGORIES= www
MASTER_SITES= ftp://ftp.espci.fr/pub/mod_mkdir/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Home directory autocreation module
LICENSE= original-bsd
APACHE_MODULE_NAME= ${DISTNAME:C/-.*//}.la
DOC_DIR= share/doc/${DISTNAME:C/-.*//}
INSTALLATION_DIRS+= lib/httpd ${DOC_DIR}
PLIST_SUBST+= DOC_DIR=${DOC_DIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOC_DIR}
.include "../../mk/apache.module.mk"
.include "../../mk/bsd.pkg.mk"