diff options
author | mat <mat@FreeBSD.org> | 2017-02-23 22:48:55 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-02-23 22:48:55 +0800 |
commit | 2341e1fdeb29e20ed7706ee73a5fbbbca761e000 (patch) | |
tree | b1e27ba41a6b719a6683506ab1227ee50489571a /textproc | |
parent | 0c68957e46c7719673f22fe39fb13720fd0b5024 (diff) | |
download | freebsd-ports-gnome-2341e1fdeb29e20ed7706ee73a5fbbbca761e000.tar.gz freebsd-ports-gnome-2341e1fdeb29e20ed7706ee73a5fbbbca761e000.tar.zst freebsd-ports-gnome-2341e1fdeb29e20ed7706ee73a5fbbbca761e000.zip |
Fix USE_GITHUB usage.
(USES=go needs a bit more work though.)
Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/jid/Makefile | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/textproc/jid/Makefile b/textproc/jid/Makefile index 896b5e75966e..b6fde4d765dc 100644 --- a/textproc/jid/Makefile +++ b/textproc/jid/Makefile @@ -13,35 +13,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= simeji -GH_TUPLE= bitly:go-simplejson:aabad6e:simplejson \ - fatih:color:7824417:color \ - mattn:go-runewidth:9e777a8:runewidth \ - nsf:termbox-go:3540b76:termbox \ - nwidger:jsoncolor:75a6de4:jsoncolor \ - pkg:errors:645ef00:errors +GH_SUBDIR= src/github.com/simeji/jid +GH_TUPLE= bitly:go-simplejson:aabad6e:simplejson/src/github.com/bitly/go-simplejson \ + fatih:color:7824417:color/src/github.com/fatih/color \ + mattn:go-runewidth:9e777a8:runewidth/src/github.com/mattn/go-runewidth \ + nsf:termbox-go:3540b76:termbox/src/github.com/nsf/termbox-go \ + nwidger:jsoncolor:75a6de4:jsoncolor/src/github.com/nwidger/jsoncolor \ + pkg:errors:645ef00:errors/src/github.com/pkg/errors USES= go PLIST_FILES= bin/jid -pre-build: .SILENT - ${MKDIR} ${WRKDIR}/src/github.com/mattn - ${MV} ${WRKDIR}/go-runewidth-9e777a8 ${WRKDIR}/src/github.com/mattn/go-runewidth - ${MKDIR} ${WRKDIR}/src/github.com/fatih - ${MV} ${WRKDIR}/color-7824417 ${WRKDIR}/src/github.com/fatih/color - ${MKDIR} ${WRKDIR}/src/github.com/bitly - ${MV} ${WRKDIR}/go-simplejson-aabad6e ${WRKDIR}/src/github.com/bitly/go-simplejson - ${MKDIR} ${WRKDIR}/src/github.com/nsf - ${MV} ${WRKDIR}/termbox-go-3540b76 ${WRKDIR}/src/github.com/nsf/termbox-go - ${MKDIR} ${WRKDIR}/src/github.com/nwidger - ${MV} ${WRKDIR}/jsoncolor-75a6de4 ${WRKDIR}/src/github.com/nwidger/jsoncolor - ${MKDIR} ${WRKDIR}/src/github.com/pkg - ${MV} ${WRKDIR}/errors-645ef00 ${WRKDIR}/src/github.com/pkg/errors - ${MKDIR} ${WRKDIR}/src/github.com/simeji - ${CP} -r ${WRKDIR}/jid-${PORTVERSION} ${WRKDIR}/src/github.com/simeji/jid - do-build: - @(cd ${WRKDIR}/src/github.com/simeji/jid; \ - ${SETENV} ${GO_ENV} ${GO_CMD} build -v -o ${WRKDIR}/bin/jid cmd/jid/jid.go) + @(cd ${WRKSRC}; \ + ${SETENV} ${GO_ENV} GOPATH=${WRKSRC} ${GO_CMD} build -v -o ${WRKSRC}/bin/jid cmd/jid/jid.go) .include <bsd.port.mk> |