www/mod_md-devel: Don't conflict with apache24

- Apache 2.4.33 added mod_md
 - Use modules.d with a sample file
This commit is contained in:
Bernard Spil 2018-03-24 21:54:25 +00:00
parent e6ecf1bd44
commit 0692a33074
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465487

View file

@ -3,7 +3,7 @@
PORTNAME= mod_md
PORTVERSION= 1.1.10
PORTREVISION= 2
PORTREVISION= 3
DISTVERSIONPREFIX= v
CATEGORIES= www
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
@ -32,11 +32,9 @@ CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \
--with-jansson=${LOCALBASE} \
--without-boulder
SUB_FILES= 999_mod_md.conf pkg-message
DOCSDIR= share/doc/mod_md
PORTDOCS= README README.md
PLIST_FILES= ${APACHEMODDIR}/mod_md.so.0.0.0 \
${APACHEMODDIR}/mod_md.so \
bin/a2md
.include <bsd.port.pre.mk>
@ -46,5 +44,12 @@ IGNORE= port requires OpenSSL 1.0.2 or later, set DEFAULT_VERSIONS+= ssl=openss
post-install:
${RM} ${STAGEDIR}${PREFIX}/share/doc/mod_md/LICENSE
${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
${INSTALL_DATA} ${WRKDIR}/999_mod_md.conf \
${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d/999_mod_md.conf.sample
${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_md.so.0.0.0 \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_manageddomain.so.0.0.0
${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_md.so \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_manageddomain.so
.include <bsd.port.post.mk>