mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
c40b4b99ee
Unbreak by pulling in golang.org/x/sys@fead7900131 to fix build on aarch64 PR: 243779 Approved by: 0mp, manu (mentor)
38 lines
945 B
Makefile
38 lines
945 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= jp
|
|
DISTVERSION= 1.1.12
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= Terminal charts, plots, histograms and maps from JSON and CSV
|
|
|
|
LICENSE= MIT APACHE20
|
|
LICENSE_COMB= multi
|
|
|
|
USES= go
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sgreben
|
|
GH_TUPLE= golang:sys:fead79001313:golang_sys/vendor/golang.org/x/sys_fead79001313
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}/cmd/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
pre-build:
|
|
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
|
|
${MV} ${WRKSRC}/vendor/golang.org/x/sys_fead79001313 ${WRKSRC}/vendor/golang.org/x/sys
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} "README.md docs" ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|