pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/pup Import pup 0.4.0 as www/pup.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa96a6322dad
branches:  trunk
changeset: 358640:aa96a6322dad
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Feb 17 15:39:38 2017 +0000

description:
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.

diffstat:

 www/pup/DESCR    |   3 +++
 www/pup/Makefile |  32 ++++++++++++++++++++++++++++++++
 www/pup/PLIST    |   2 ++
 www/pup/distinfo |   6 ++++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r e479cb606034 -r aa96a6322dad www/pup/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pup/DESCR     Fri Feb 17 15:39:38 2017 +0000
@@ -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.
diff -r e479cb606034 -r aa96a6322dad www/pup/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pup/Makefile  Fri Feb 17 15:39:38 2017 +0000
@@ -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"
diff -r e479cb606034 -r aa96a6322dad www/pup/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pup/PLIST     Fri Feb 17 15:39:38 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/17 15:39:38 fhajny Exp $
+bin/pup
diff -r e479cb606034 -r aa96a6322dad www/pup/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/pup/distinfo  Fri Feb 17 15:39:38 2017 +0000
@@ -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