34156e93e8
- Remove custom build/install targets left in place after r505321 - Switch to the new GO_TARGET tuple syntax introduced in r512001 - Switch to go:modules when upstream already uses them Reviewed by: tobik Approved by: araujo (mentor), portmgr (adamw) Differential Revision: https://reviews.freebsd.org/D21741
35 lines
781 B
Makefile
35 lines
781 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= chart
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.0.0
|
|
CATEGORIES= deskutils
|
|
|
|
MAINTAINER= mail@dbalan.in
|
|
COMMENT= CLI tool to create quick plots
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= marianogappa
|
|
GH_SUBDIR= src/github.com/marianogappa/chart
|
|
|
|
GH_TUPLE= Sirupsen:logrus:v1.0.5:logrus/vendor/github.com/Sirupsen/logrus \
|
|
skratchdot:open-golang:75fb7ed:skratchdot/vendor/github.com/skratchdot/open-golang \
|
|
golang:crypto:027cca1:crypto/vendor/golang.org/x/crypto \
|
|
golang:sys:6c888cc:sys/vendor/golang.org/x/sys
|
|
|
|
PORTDOCS= README.md
|
|
PLIST_FILES= bin/chart
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|