pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
go-mobius: Install the example config
Module Name: pkgsrc-wip
Committed By: Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By: cfkoch
Date: Sat Jun 1 19:01:32 2024 -0700
Changeset: b58cf2dfa281ea841d16ef73add35f3f37da6a85
Modified Files:
go-mobius/Makefile
go-mobius/PLIST
Log Message:
go-mobius: Install the example config
It really does help to get a new server up and running
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b58cf2dfa281ea841d16ef73add35f3f37da6a85
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-mobius/Makefile | 7 +++++++
go-mobius/PLIST | 8 ++++++++
2 files changed, 15 insertions(+)
diffs:
diff --git a/go-mobius/Makefile b/go-mobius/Makefile
index 58fd27a3ce..88dbb28f7d 100644
--- a/go-mobius/Makefile
+++ b/go-mobius/Makefile
@@ -10,11 +10,18 @@ MAINTAINER= charlotte%NetBSD.org@localhost
HOMEPAGE= https://github.com/jhalter/mobius
COMMENT= Hotline server
LICENSE= mit
+USE_TOOLS+= pax
GO_VERSION_REQD= 122
GO_SRCPATH= github.com/jhalter/mobius
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+INSTALLATION_DIRS+= share/mobius/config
+
+post-install:
+ cd ${WRKSRC}/cmd/mobius-hotline-server/mobius/config && \
+ ${PAX} -r -w . ${DESTDIR}${PREFIX}/share/mobius/config
+
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/go-mobius/PLIST b/go-mobius/PLIST
index 0bcb294f1f..b5e0d8261d 100644
--- a/go-mobius/PLIST
+++ b/go-mobius/PLIST
@@ -1,3 +1,11 @@
@comment $NetBSD$
bin/mobius-hotline-client
bin/mobius-hotline-server
+share/mobius/config/Agreement.txt
+share/mobius/config/Files/hello.txt
+share/mobius/config/MessageBoard.txt
+share/mobius/config/ThreadedNews.yaml
+share/mobius/config/Users/admin.yaml
+share/mobius/config/Users/guest.yaml
+share/mobius/config/banner.jpg
+share/mobius/config/config.yaml
Home |
Main Index |
Thread Index |
Old Index