aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2021-07-27 19:37:24 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2021-07-27 19:37:52 +0000
commit84d321345931f4c748d62c104aa536e0fce24295 (patch)
tree8280bde59d2bb7507e3122a30bc467c73c2a3e41
parent203714eab6811477730668d0a2d9750c6449b931 (diff)
downloadports-84d321345931f4c748d62c104aa536e0fce24295.tar.gz
ports-84d321345931f4c748d62c104aa536e0fce24295.zip
www/mod_auth_mellon: Add metadata creation script, bump PORTREVISION
-rw-r--r--www/mod_auth_mellon/Makefile6
-rw-r--r--www/mod_auth_mellon/files/pkg-message.in3
2 files changed, 7 insertions, 2 deletions
diff --git a/www/mod_auth_mellon/Makefile b/www/mod_auth_mellon/Makefile
index 18fa0dc08c11..371c1aae1f23 100644
--- a/www/mod_auth_mellon/Makefile
+++ b/www/mod_auth_mellon/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mod_auth_mellon
PORTVERSION= 0.17.0
+PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DISTVERSIONPREFIX= v
@@ -26,7 +27,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \
PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
-PLIST_FILES= ${APACHEMODDIR}/mod_auth_mellon.so
+PLIST_FILES= ${APACHEMODDIR}/mod_auth_mellon.so ${DATADIR}/mellon_create_metadata.sh
SUB_FILES= pkg-message
post-patch:
@@ -35,9 +36,10 @@ post-patch:
${WRKSRC}/Makefile.in
pre-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${STAGEDIR}${DATADIR}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
+ ${INSTALL_SCRIPT} ${WRKSRC}/mellon_create_metadata.sh ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/www/mod_auth_mellon/files/pkg-message.in b/www/mod_auth_mellon/files/pkg-message.in
index 1ec9768851ab..5afe48c5d667 100644
--- a/www/mod_auth_mellon/files/pkg-message.in
+++ b/www/mod_auth_mellon/files/pkg-message.in
@@ -7,6 +7,9 @@ LoadModule auth_mellon_module %%APACHEMODDIR%%/mod_auth_mellon.so
Then create your configuration. Examples can be found here:
https://github.com/latchset/mod_auth_mellon
+
+The metadata creation script can be found here:
+%%DATADIR%%/mellon_create_metadata.sh
===========================================================================
EOM
}