pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

soju: Makefile: Add share/doc/soju and documentation



Module Name:	pkgsrc-wip
Committed By:	Iris <iris000%duck.com@localhost>
Pushed By:	iris
Date:		Tue Aug 6 11:41:58 2024 +0000
Changeset:	2e21cd438fb41b3254b778a3218a4ddb3ed36355

Modified Files:
	soju/Makefile
	soju/PLIST

Log Message:
soju: Makefile: Add share/doc/soju and documentation

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e21cd438fb41b3254b778a3218a4ddb3ed36355

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 soju/Makefile | 19 ++++++++++++++++++-
 soju/PLIST    | 13 +++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)

diffs:
diff --git a/soju/Makefile b/soju/Makefile
index c94bf2f9e8..4cf7d87e02 100644
--- a/soju/Makefile
+++ b/soju/Makefile
@@ -21,7 +21,9 @@ GO_BUILD_PATTERN+=	./cmd/soju ./cmd/sojuctl ./cmd/sojudb \
 			./contrib/migrate-db ./contrib/migrate-logs \
 			./contrib/znc-import
 
-INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1 ${PREFIX}/share/examples/soju
+DOCDIR=			${PREFIX}/share/doc/soju
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1 ${PREFIX}/share/examples/soju \
+			${DOCDIR} ${DOCDIR}/ext
 
 SOJU_USER?=		soju
 SOJU_GROUP?=		soju
@@ -59,6 +61,21 @@ post-install:
 	${INSTALL_MAN} ${WRKSRC}/doc/sojuctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
 	${INSTALL_DATA} ${WRKSRC}/contrib/soju.service ${DESTDIR}${PREFIX}/share/examples/soju/soju.service
 	${INSTALL_DATA} ${WRKSRC}/config.in ${DESTDIR}${PREFIX}/share/examples/soju/config
+	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/getting-started.md ${DESTDIR}${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/per-user-ip.md ${DESTDIR}${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/contrib/certbot.md ${DESTDIR}${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/contrib/clients.md ${DESTDIR}${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/contrib/tlstunnel.md ${DESTDIR}${DOCDIR}
+	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/README.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/account-required.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/bouncer-networks.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/filehost.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/no-implicit-names.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/read.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/search.md ${DESTDIR}${DOCDIR}/ext
+	${INSTALL_DATA} ${WRKSRC}/doc/ext/webpush.md ${DESTDIR}${DOCDIR}/ext
 
 .include "go-modules.mk"
 
diff --git a/soju/PLIST b/soju/PLIST
index f702356989..28d9be5126 100644
--- a/soju/PLIST
+++ b/soju/PLIST
@@ -8,5 +8,18 @@ bin/sojuctl
 bin/sojudb
 man/man1/soju.1
 man/man1/sojuctl.1
+share/doc/soju/certbot.md
+share/doc/soju/clients.md
+share/doc/soju/ext/README.md
+share/doc/soju/ext/account-required.md
+share/doc/soju/ext/bouncer-networks.md
+share/doc/soju/ext/filehost.md
+share/doc/soju/ext/no-implicit-names.md
+share/doc/soju/ext/read.md
+share/doc/soju/ext/search.md
+share/doc/soju/ext/webpush.md
+share/doc/soju/getting-started.md
+share/doc/soju/per-user-ip.md
+share/doc/soju/tlstunnel.md
 share/examples/soju/config
 share/examples/soju/soju.service


Home | Main Index | Thread Index | Old Index