blob: 2023124af9104782c091ecbdc616a51ce4339a64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.6 2018/03/04 15:52:21 bsiegert Exp $
DISTNAME= pup-0.4.0
PKGREVISION= 3
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
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/ericchiang/pup
INSTALLATION_DIRS+= bin share/doc/pup
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/pup ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/pup
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|