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:   fhajny
Date:           Fri Feb 17 15:39:38 UTC 2017

Added Files:
        pkgsrc/www/pup: DESCR Makefile PLIST distinfo

Log Message:
Import pup 0.4.0 as www/pup.

pup is a command line tool for processing HTML. It reads from
stdin, prints to stdout, and allows the user to filter parts of
the page using CSS selectors.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/pup/DESCR pkgsrc/www/pup/Makefile \
    pkgsrc/www/pup/PLIST pkgsrc/www/pup/distinfo

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

Added files:

Index: pkgsrc/www/pup/DESCR
diff -u /dev/null pkgsrc/www/pup/DESCR:1.1
--- /dev/null   Fri Feb 17 15:39:38 2017
+++ pkgsrc/www/pup/DESCR        Fri Feb 17 15:39:38 2017
@@ -0,0 +1,3 @@
+pup is a command line tool for processing HTML. It reads from
+stdin, prints to stdout, and allows the user to filter parts of
+the page using CSS selectors.
Index: pkgsrc/www/pup/Makefile
diff -u /dev/null pkgsrc/www/pup/Makefile:1.1
--- /dev/null   Fri Feb 17 15:39:38 2017
+++ pkgsrc/www/pup/Makefile     Fri Feb 17 15:39:38 2017
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2017/02/17 15:39:38 fhajny Exp $
+
+DISTNAME=              pup-0.4.0
+CATEGORIES=            www
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=ericchiang/}
+GITHUB_TAG=            v${PKGVERSION_NOREV}
+
+MAINTAINER=            filip%joyent.com@localhost
+HOMEPAGE=              https://github.com/ericchiang/pup/
+COMMENT=               Parsing HTML at the command line
+LICENSE=               mit
+
+WRKSRC=                        ${WRKDIR}/src/github.com/ericchiang/pup
+
+.include "../../lang/go/version.mk"
+
+BUILD_DEPENDS+=                go-${GO_VERSION}*:../../lang/go
+
+MAKE_ENV+=             GOPATH=${WRKDIR}:${PREFIX}/gopkg
+INSTALLATION_DIRS+=    bin
+
+post-extract:
+       ${MKDIR} ${WRKSRC}
+       ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -o bin/pup
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/pup ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/pup/PLIST
diff -u /dev/null pkgsrc/www/pup/PLIST:1.1
--- /dev/null   Fri Feb 17 15:39:38 2017
+++ pkgsrc/www/pup/PLIST        Fri Feb 17 15:39:38 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/17 15:39:38 fhajny Exp $
+bin/pup
Index: pkgsrc/www/pup/distinfo
diff -u /dev/null pkgsrc/www/pup/distinfo:1.1
--- /dev/null   Fri Feb 17 15:39:38 2017
+++ pkgsrc/www/pup/distinfo     Fri Feb 17 15:39:38 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/17 15:39:38 fhajny Exp $
+
+SHA1 (pup-0.4.0.tar.gz) = 3ed97478292a0ae0499fd6cc499b454663a7d8c1
+RMD160 (pup-0.4.0.tar.gz) = 8b34a54dad0aac9f633d02ac31e81715f9ce5ad6
+SHA512 (pup-0.4.0.tar.gz) = 5228a283cdbc6425888b08154873e059f5808efd68eb86880d15572398e50b0a431922e6ef5e6acf04bc18c95bfd793590d5df2eccb9a041a64dc03731ec1874
+Size (pup-0.4.0.tar.gz) = 2762349 bytes



Home | Main Index | Thread Index | Old Index