pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/pup Install README too.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9d2e95d3e854
branches: trunk
changeset: 362181:9d2e95d3e854
user: leot <leot%pkgsrc.org@localhost>
date: Mon May 08 08:50:13 2017 +0000
description:
Install README too.
Unfortunately pup doesn't have any man pages. However, README.md is
a good introduction to it so install it in `share/doc/pup' so that binary
package users can easily access it.
Bump PKGREVISION.
Discussed with <fhajny>
diffstat:
www/pup/Makefile | 7 ++++---
www/pup/PLIST | 3 ++-
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 5098e74b0dc7 -r 9d2e95d3e854 www/pup/Makefile
--- a/www/pup/Makefile Mon May 08 04:59:28 2017 +0000
+++ b/www/pup/Makefile Mon May 08 08:50:13 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2017/04/13 15:12:06 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3 2017/05/08 08:50:13 leot Exp $
DISTNAME= pup-0.4.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=ericchiang/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -18,7 +18,7 @@
BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go
MAKE_ENV+= GOPATH=${WRKDIR}:${PREFIX}/gopkg
-INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= bin share/doc/pup
post-extract:
${MKDIR} ${WRKSRC}
@@ -29,5 +29,6 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pup ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/pup/README
.include "../../mk/bsd.pkg.mk"
diff -r 5098e74b0dc7 -r 9d2e95d3e854 www/pup/PLIST
--- a/www/pup/PLIST Mon May 08 04:59:28 2017 +0000
+++ b/www/pup/PLIST Mon May 08 08:50:13 2017 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2017/02/17 15:39:38 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/05/08 08:50:13 leot Exp $
bin/pup
+share/doc/pup/README
Home |
Main Index |
Thread Index |
Old Index