Changeset View
Changeset View
Standalone View
Standalone View
audio/pms-devel/Makefile
# Created by: Thomas Zander <riggs@FreeBSD.org> | # Created by: Thomas Zander <riggs@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= pms-devel | PORTNAME= pms-devel | ||||
PORTVERSION= 0.0.20181123 | PORTVERSION= 0.0.20181123 | ||||
CATEGORIES= audio | CATEGORIES= audio | ||||
MAINTAINER= riggs@FreeBSD.org | MAINTAINER= riggs@FreeBSD.org | ||||
COMMENT= Rewrite of pms, an ncurses-based client for the Music Player Daemon | COMMENT= Rewrite of pms, an ncurses-based client for the Music Player Daemon | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
USES= go | USES= go:modules | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= ambientsound | GH_ACCOUNT= ambientsound | ||||
GH_PROJECT= pms | GH_PROJECT= pms | ||||
GH_TAGNAME= 000c5c0 | GH_TAGNAME= 000c5c0 | ||||
GH_TUPLE=\ | GH_TUPLE= \ | ||||
tobik: Many dependencies have changed here (some tags do not match the commits from before). Why? Make… | |||||
dmgkAuthorUnsubmitted Done Inline ActionsHmm.. I'm not sure where original dependencies came from, upstream doesn't seem to have used anything except modules. The new GH_TUPLE was generated by gomod-vendor target. But this definitely needs a PORTREVISION bump, thanks for spotting. dmgk: Hmm.. I'm not sure where original dependencies came from, upstream doesn't seem to have used… | |||||
ambientsound:gompd:b065d40:gompd/src/github.com/ambientsound/gompd \ | RoaringBitmap:roaring:v0.4.16:roaringbitmap_roaring/vendor/github.com/RoaringBitmap/roaring \ | ||||
blevesearch:bleve:1a319cd:bleve/src/github.com/blevesearch/bleve \ | Smerity:govarint:7265e41f48f1:smerity_govarint/vendor/github.com/Smerity/govarint \ | ||||
blevesearch:go-porterstemmer:23a2c8e:porterstemmer/src/github.com/blevesearch/go-porterstemmer \ | ambientsound:gompd:b065d40b8238:ambientsound_gompd/vendor/github.com/ambientsound/gompd \ | ||||
blevesearch:segment:762005e:segment/src/github.com/blevesearch/segment \ | blevesearch:bleve:v0.7.0:blevesearch_bleve/vendor/github.com/blevesearch/bleve \ | ||||
boltdb:bolt:2f1ce7a:boltdb/src/github.com/boltdb/bolt \ | blevesearch:go-porterstemmer:v1.0.1:blevesearch_go_porterstemmer/vendor/github.com/blevesearch/go-porterstemmer \ | ||||
couchbase:vellum:35d9e73:vellum/src/github.com/couchbase/vellum \ | blevesearch:segment:762005e7a34f:blevesearch_segment/vendor/github.com/blevesearch/segment \ | ||||
edsrzf:mmap-go:0bce6a6:mmap/src/github.com/edsrzf/mmap-go \ | boltdb:bolt:v1.3.1:boltdb_bolt/vendor/github.com/boltdb/bolt \ | ||||
gdamore:encoding:b23993c:encoding/src/github.com/gdamore/encoding \ | couchbase:vellum:35d9e7346a69:couchbase_vellum/vendor/github.com/couchbase/vellum \ | ||||
gdamore:tcell:de7e78e:tcell/src/github.com/gdamore/tcell \ | davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ | ||||
glycerine:go-unsnap-stream:9f0cb55:unsnapstream/src/github.com/glycerine/go-unsnap-stream \ | edsrzf:mmap-go:0bce6a688712:edsrzf_mmap_go/vendor/github.com/edsrzf/mmap-go \ | ||||
golang:protobuf:aa810b6:protobuf/src/github.com/golang/protobuf \ | gdamore:encoding:b23993cbb635:gdamore_encoding/vendor/github.com/gdamore/encoding \ | ||||
golang:snappy:2e65f85:snappy/src/github.com/golang/snappy \ | gdamore:tcell:v1.1.0:gdamore_tcell/vendor/github.com/gdamore/tcell \ | ||||
jessevdk:go-flags:c6ca198:flags/src/github.com/jessevdk/go-flags \ | glycerine:go-unsnap-stream:9f0cb55181dd:glycerine_go_unsnap_stream/vendor/github.com/glycerine/go-unsnap-stream \ | ||||
lucasb-eyer:go-colorful:c784231:colorful/src/github.com/lucasb-eyer/go-colorful \ | golang:net:161cd47e91fd:golang_net/vendor/golang.org/x/net \ | ||||
mattn:go-runewidth:ce7b0b5:runewidth/src/github.com/mattn/go-runewidth \ | golang:protobuf:v1.2.0:golang_protobuf/vendor/github.com/golang/protobuf \ | ||||
philhofer:fwd:bb6d471:fwd/src/github.com/philhofer/fwd \ | golang:snappy:2e65f85255db:golang_snappy/vendor/github.com/golang/snappy \ | ||||
RoaringBitmap:roaring:3d677d3:roaring/src/github.com/RoaringBitmap/roaring \ | golang:sys:bbd175535a8b:golang_sys/vendor/golang.org/x/sys \ | ||||
Smerity:govarint:7265e41:govarint/src/github.com/Smerity/govarint \ | golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \ | ||||
steveyen:gtreap:0abe01e:gtreap/src/github.com/steveyen/gtreap \ | jessevdk:go-flags:v1.4.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \ | ||||
stretchr:testify:f35b8ab:testify/src/github.com/stretchr/testify \ | lucasb-eyer:go-colorful:c7842319cf3a:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \ | ||||
tinylib:msgp:b2b6a67:msgp/src/github.com/tinylib/msgp \ | mattn:go-runewidth:v0.0.3:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ | ||||
golang:net:161cd47:net/src/golang.org/x/net \ | mschoch:smat:90eadee771ae:mschoch_smat/vendor/github.com/mschoch/smat \ | ||||
golang:text:f21a4df:text/src/golang.org/x/text | philhofer:fwd:v1.0.0:philhofer_fwd/vendor/github.com/philhofer/fwd \ | ||||
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ | |||||
steveyen:gtreap:0abe01ef9be2:steveyen_gtreap/vendor/github.com/steveyen/gtreap \ | |||||
stretchr:testify:v1.2.2:stretchr_testify/vendor/github.com/stretchr/testify \ | |||||
tinylib:msgp:v1.0.2:tinylib_msgp/vendor/github.com/tinylib/msgp \ | |||||
willf:bitset:v1.1.9:willf_bitset/vendor/github.com/willf/bitset | |||||
PLIST_FILES= bin/${GO_PKGNAME} | GO_BUILDFLAGS= -ldflags "-X main.buildVersion=${DISTVERSION}" | ||||
GO_TARGET= :pms-devel | |||||
PLIST_FILES= bin/${PORTNAME} | |||||
PORTDOCS= * | PORTDOCS= * | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-extract: | |||||
${LN} -sf ${WRKSRC} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} | |||||
${RM} ${WRKSRC}/go.mod | |||||
do-build: | |||||
@cd ${WRKSRC}; \ | |||||
${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags "-X main.buildVersion=${DISTVERSION}" | |||||
do-install: | |||||
${INSTALL_PROGRAM} ${WRKSRC}/pms-${GH_TAGNAME} ${STAGEDIR}${PREFIX}/bin/${GO_PKGNAME} | |||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} | ${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} | ||||
post-install: | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${GO_PKGNAME} | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Many dependencies have changed here (some tags do not match the commits from before). Why? Make sure to bump PORTREVISION to force a rebuild for this.