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.
This commit is contained in:
parent
0bab028426
commit
ab5c72139c
4 changed files with 43 additions and 0 deletions
3
www/pup/DESCR
Normal file
3
www/pup/DESCR
Normal file
|
@ -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.
|
32
www/pup/Makefile
Normal file
32
www/pup/Makefile
Normal file
|
@ -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
|
||||
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"
|
2
www/pup/PLIST
Normal file
2
www/pup/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2017/02/17 15:39:38 fhajny Exp $
|
||||
bin/pup
|
6
www/pup/distinfo
Normal file
6
www/pup/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue