# $NetBSD: Makefile,v 1.66 2023/10/15 12:04:35 bsiegert Exp $
DISTNAME= pup-0.4.0
PKGREVISION= 60
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=ericchiang/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ericchiang/pup/
COMMENT= Parsing HTML at the command line
LICENSE= mit
GO_BUILD_PATTERN= .
INSTALLATION_DIRS+= share/doc/pup
pre-patch:
${CP} ${FILESDIR}/go.mod ${WRKSRC}
${CP} ${FILESDIR}/modules.txt ${WRKSRC}/vendor
post-install:
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/pup
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>