git: 84d321345931 - main - www/mod_auth_mellon: Add metadata creation script, bump PORTREVISION
Ryan Steinmetz
zi at FreeBSD.org
Tue Jul 27 19:38:13 UTC 2021
The branch main has been updated by zi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=84d321345931f4c748d62c104aa536e0fce24295
commit 84d321345931f4c748d62c104aa536e0fce24295
Author: Ryan Steinmetz <zi at FreeBSD.org>
AuthorDate: 2021-07-27 19:37:24 +0000
Commit: Ryan Steinmetz <zi at FreeBSD.org>
CommitDate: 2021-07-27 19:37:52 +0000
www/mod_auth_mellon: Add metadata creation script, bump PORTREVISION
---
www/mod_auth_mellon/Makefile | 6 ++++--
www/mod_auth_mellon/files/pkg-message.in | 3 +++
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
}
More information about the dev-commits-ports-main
mailing list