pkgsrc-WIP-changes archive

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

rclone: Install the man page instead of MANUAL.{txt,html}



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Jan 20 19:14:00 2018 +0100
Changeset:	991d2a11ee1fe96ed5fbe247bd863dc23a1fff6d

Modified Files:
	rclone/Makefile
	rclone/PLIST

Log Message:
rclone: Install the man page instead of MANUAL.{txt,html}

It is probably better than both txt and HTML formats.

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

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

diffstat:
 rclone/Makefile | 5 ++---
 rclone/PLIST    | 3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs:
diff --git a/rclone/Makefile b/rclone/Makefile
index 9f8639b2e4..bb6e30ed8d 100644
--- a/rclone/Makefile
+++ b/rclone/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS+=		go-${GO_VERSION}*:../../lang/go
 
 MAKE_ENV+=		GOPATH=${WRKDIR}:${PREFIX}/gopkg
 
-INSTALLATION_DIRS+=	bin share/doc/rclone
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
 
 post-extract:
 	${MKDIR} ${WRKSRC}
@@ -30,7 +30,6 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/rclone ${DESTDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/MANUAL.html ${DESTDIR}${PREFIX}/share/doc/rclone
-	${INSTALL_DATA} ${WRKSRC}/MANUAL.txt ${DESTDIR}${PREFIX}/share/doc/rclone
+	${INSTALL_MAN} ${WRKSRC}/rclone.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/rclone/PLIST b/rclone/PLIST
index 285c8ec4f8..0b02dddb25 100644
--- a/rclone/PLIST
+++ b/rclone/PLIST
@@ -1,4 +1,3 @@
 @comment $NetBSD$
 bin/rclone
-share/doc/rclone/MANUAL.html
-share/doc/rclone/MANUAL.txt
+man/man1/rclone.1


Home | Main Index | Thread Index | Old Index