pkgsrc-WIP-changes archive

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

neonmodem: install some documentation



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Jan 12 10:19:14 2024 +0100
Changeset:	bd5351f13509646265fafaae0b059c30b41a3d5a

Modified Files:
	neonmodem/Makefile
	neonmodem/PLIST

Log Message:
neonmodem: install some documentation

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

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

diffstat:
 neonmodem/Makefile | 8 +++++---
 neonmodem/PLIST    | 1 +
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs:
diff --git a/neonmodem/Makefile b/neonmodem/Makefile
index a75372bc31..568717e24c 100644
--- a/neonmodem/Makefile
+++ b/neonmodem/Makefile
@@ -10,14 +10,16 @@ HOMEPAGE=	https://neonmodem.com/
 COMMENT=	Neon modem overdrive
 LICENSE=	gnu-gpl-v3
 
-INSTALLATION_DIRS=	bin
+DEPENDS+=	xdg-utils-[0-9]*:../../misc/xdg-utils
+
+INSTALLATION_DIRS=	bin share/doc/neonmodem
 USE_TOOLS+=		itstool gdbus-codegen perl
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/neonmodem \
 		${DESTDIR}${PREFIX}/bin
-
-DEPENDS+=	xdg-utils-[0-9]*:../../misc/xdg-utils
+	${INSTALL_DATA} ${WRKSRC}/README.md \
+		${DESTDIR}${PREFIX}/share/doc/neonmodem
 
 .include "go-modules.mk"
 .include "../../lang/go/go-module.mk"
diff --git a/neonmodem/PLIST b/neonmodem/PLIST
index 8a1af16ff4..7a3d2f9411 100644
--- a/neonmodem/PLIST
+++ b/neonmodem/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/neonmodem
+share/doc/neonmodem/README.md


Home | Main Index | Thread Index | Old Index