1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/deskutils/chart/Makefile
2018-07-02 10:52:33 +00:00

44 lines
1003 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
BUILD_DEPENDS= go>=1.10:lang/go
USE_GITHUB= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
GH_ACCOUNT= marianogappa
GH_SUBDIR= src/github.com/marianogappa/chart
GH_TUPLE= Sirupsen:logrus:v1.0.5:logrus/src/github.com/Sirupsen/logrus \
skratchdot:open-golang:75fb7ed:skratchdot/src/github.com/skratchdot/open-golang \
golang:crypto:027cca1:crypto/src/golang.org/x/crypto \
golang:sys:6c888cc:sys/src/golang.org/x/sys
PLIST_FILES= bin/chart
do-build:
( cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} \
go build ${BUILD_FLAGS} -o bin/chart )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/chart ${STAGEDIR}${PREFIX}/bin/chart
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>