pkgsrc/www/pup/Makefile

24 lines
660 B
Makefile

# $NetBSD: Makefile,v 1.17 2019/08/14 15:45:49 bsiegert Exp $
DISTNAME= pup-0.4.0
PKGREVISION= 13
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=ericchiang/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= fhajny@NetBSD.org
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"