pkgsrc-WIP-changes archive

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

muon: Install man page



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Mon Apr 17 14:47:38 2023 +0200
Changeset:	6c895acac371c985c1ac06c09bac7c5425c1719c

Modified Files:
	muon/Makefile
	muon/PLIST
	muon/distinfo

Log Message:
muon: Install man page

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

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

diffstat:
 muon/Makefile | 16 ++++++++++------
 muon/PLIST    |  1 +
 muon/distinfo |  3 +++
 3 files changed, 14 insertions(+), 6 deletions(-)

diffs:
diff --git a/muon/Makefile b/muon/Makefile
index 5a3d1048ec..2a3bea190f 100644
--- a/muon/Makefile
+++ b/muon/Makefile
@@ -1,10 +1,12 @@
 # $NetBSD$
 
-PKGNAME=	muon-0.2.0
-DISTNAME=	${PKGNAME:S/muon-//}
-CATEGORIES=	devel
-MASTER_SITES=	https://git.sr.ht/~lattis/muon/archive/
-DIST_SUBDIR=	${PKGNAME_NOREV}
+PKGNAME=		muon-0.2.0
+DISTNAME=		${PKGNAME:S/muon-//}
+CATEGORIES=		devel
+MASTER_SITES=		https://git.sr.ht/~lattis/muon/archive/
+DIST_SUBDIR=		${PKGNAME_NOREV}
+DISTFILES=		${DEFAULT_DISTFILES} man.tar.gz
+SITES.man.tar.gz=	https://muon.build/releases/v${DISTNAME}/docs/
 
 MAINTAINER=	micha%NetBSD.org@localhost
 HOMEPAGE=	https://git.sr.ht/~lattis/muon
@@ -16,7 +18,7 @@ USE_LANGUAGES=	c99
 TOOL_DEPENDS+=	samurai>=1.2:../../devel/samurai
 
 WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
-INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
 do-configure:
 	cd ${WRKSRC} && env ${CONFIGURE_ENV} \
@@ -35,6 +37,8 @@ do-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/output/muon \
 		${DESTDIR}${PREFIX}/bin/muon
+	${INSTALL_MAN} ${WRKDIR}/man/muon.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 #.include "../../archivers/libarchive/buildlink3.mk"
 .include "../../devel/pkgconf/buildlink3.mk"
diff --git a/muon/PLIST b/muon/PLIST
index dbf47723f2..655870405d 100644
--- a/muon/PLIST
+++ b/muon/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/muon
+man/man1/muon.1
diff --git a/muon/distinfo b/muon/distinfo
index 30380fc7dc..260ddd05ce 100644
--- a/muon/distinfo
+++ b/muon/distinfo
@@ -3,3 +3,6 @@ $NetBSD$
 BLAKE2s (muon-0.2.0/0.2.0.tar.gz) = 8de947544673e3a26b6569866ba40802de80fd36229b8bc1454ced55b698356b
 SHA512 (muon-0.2.0/0.2.0.tar.gz) = b2e90048756bdc26bdea24fe227a87ad4d0e57176e217e22ea492a55229c62e2a70243f60af1e162e2dde8468fdda9662a32ea5cfadd69fab95a83499efa077b
 Size (muon-0.2.0/0.2.0.tar.gz) = 510533 bytes
+BLAKE2s (muon-0.2.0/man.tar.gz) = cdd8868cb2a23a86d2969c7e73f5bd853927955b61d299fdc0159bfe2e1f80cd
+SHA512 (muon-0.2.0/man.tar.gz) = e1ef67ae1e03ca843f839bef9eee04a6a8aee7e3b7ecf13ea95aff992f390884da146d8386ea75ea3d6c3a9aca96acf61a5c743fdfab9745539eab20d838d068
+Size (muon-0.2.0/man.tar.gz) = 7131 bytes


Home | Main Index | Thread Index | Old Index