pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/pup



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon May  8 08:50:13 UTC 2017

Modified Files:
        pkgsrc/www/pup: Makefile PLIST

Log Message:
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>


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/pup/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/pup/PLIST

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

Modified files:

Index: pkgsrc/www/pup/Makefile
diff -u pkgsrc/www/pup/Makefile:1.2 pkgsrc/www/pup/Makefile:1.3
--- pkgsrc/www/pup/Makefile:1.2 Thu Apr 13 15:12:06 2017
+++ pkgsrc/www/pup/Makefile     Mon May  8 08:50:13 2017
@@ -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 @@ WRKSRC=                       ${WRKDIR}/src/github.com/ericc
 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-build:
 
 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"

Index: pkgsrc/www/pup/PLIST
diff -u pkgsrc/www/pup/PLIST:1.1 pkgsrc/www/pup/PLIST:1.2
--- pkgsrc/www/pup/PLIST:1.1    Fri Feb 17 15:39:38 2017
+++ pkgsrc/www/pup/PLIST        Mon May  8 08:50:13 2017
@@ -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