diff options
author | swills <swills@FreeBSD.org> | 2015-08-03 22:05:42 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-08-03 22:05:42 +0800 |
commit | a4f7801f0842e08a2052758a48ab0d19e579bc07 (patch) | |
tree | a9d5998d5d11efbe20488ff89d1e27b4fd0fd5f4 /misc/exercism | |
parent | e274cefcaed00311c747a26e06fea6404f49e32c (diff) | |
download | freebsd-ports-gnome-a4f7801f0842e08a2052758a48ab0d19e579bc07.tar.gz freebsd-ports-gnome-a4f7801f0842e08a2052758a48ab0d19e579bc07.tar.zst freebsd-ports-gnome-a4f7801f0842e08a2052758a48ab0d19e579bc07.zip |
misc/exercism: update to 2.2.0
Diffstat (limited to 'misc/exercism')
-rw-r--r-- | misc/exercism/Makefile | 34 | ||||
-rw-r--r-- | misc/exercism/distinfo | 14 |
2 files changed, 31 insertions, 17 deletions
diff --git a/misc/exercism/Makefile b/misc/exercism/Makefile index 77abc62f4f36..aad99ab3e816 100644 --- a/misc/exercism/Makefile +++ b/misc/exercism/Makefile @@ -2,35 +2,43 @@ # $FreeBSD$ PORTNAME= exercism -PORTVERSION= 1.7.1 +PORTVERSION= 2.2.0 DISTVERSIONPREFIX= v CATEGORIES= misc -MASTER_SITES= \ - https://codeload.github.com/codegangsta/cli/legacy.tar.gz/f7ebb76?dummy=/:group2 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - codegansta-cli-f7ebb76${EXTRACT_SUFX}:group2 MAINTAINER= swills@FreeBSD.org COMMENT= CLI client for exercism.io BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go -WRKSRC= ${WRKDIR}/cli-${PORTVERSION} USE_GITHUB= yes -GH_PROJECT= cli +GH_ACCOUNT= codegangsta:cg kardianos:osext golang:text,net +GH_PROJECT= cli:DEFAULT cli:cg osext:osext text:text net:net +GH_TAGNAME= bca61c4:cg 6e7f843:osext 3eb7007:text 51854ab:net + +STRIP= # stripping can break go binaries PLIST_FILES= bin/exercism post-patch: - cd ${WRKSRC} ; ${MKDIR} src/github.com/codegangsta \ - src/github.com/exercism/cli ; \ - ${MV} ${WRKDIR}/codegangsta-cli-f7ebb76 ${WRKSRC}/src/github.com/codegangsta/cli ; \ - ${CP} -r api handlers config src/github.com/exercism/cli + @${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} +.for src in .gitignore .travis.yml CHANGELOG.md LICENSE README.md RELEASE.md \ + api bin cmd config exercism fixtures user + @${MV} ${WRKSRC}/${src} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} +.endfor + @${MKDIR} ${WRKSRC}/src/golang.org/x + @${MKDIR} ${WRKSRC}/src/github.com/codegangsta + @${MKDIR} ${WRKSRC}/src/github.com/kardianos + @${MV} ${WRKSRC_cg} ${WRKSRC}/src/github.com/codegangsta/cli + @${MV} ${WRKSRC_osext} ${WRKSRC}/src/github.com/kardianos/osext + @${MV} ${WRKSRC_text} ${WRKSRC}/src/golang.org/x/text + @${MV} ${WRKSRC_net} ${WRKSRC}/src/golang.org/x/net do-build: - cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build -o exercism + @(cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} ; \ + ${SETENV} GOPATH=${WRKSRC} go build -o bin/exercism exercism/main.go) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/exercism ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/exercism ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/misc/exercism/distinfo b/misc/exercism/distinfo index ae86d45d3bf7..0fca3873b612 100644 --- a/misc/exercism/distinfo +++ b/misc/exercism/distinfo @@ -1,4 +1,10 @@ -SHA256 (exercism-cli-v1.7.1_GH0.tar.gz) = 47357e762f80797071311c6057724ad7b315cd5b11b9dd751fe68012e5db38b4 -SIZE (exercism-cli-v1.7.1_GH0.tar.gz) = 11877 -SHA256 (codegansta-cli-f7ebb76.tar.gz) = 216232029c7f391a9312493f4a2b66b2fffa8f4fcee5104bfff7847d5683ee6e -SIZE (codegansta-cli-f7ebb76.tar.gz) = 15185 +SHA256 (exercism-cli-v2.2.0_GH0.tar.gz) = f044645c7e775abcf721939f015fb51df8733a0acf828961e6ebefee57194b03 +SIZE (exercism-cli-v2.2.0_GH0.tar.gz) = 30349 +SHA256 (codegangsta-cli-bca61c4_GH0.tar.gz) = 7412284f55e1f5594eaaeace5a16875668ff9c1de1d7ecd5778b667c5ec9c5d2 +SIZE (codegangsta-cli-bca61c4_GH0.tar.gz) = 19936 +SHA256 (kardianos-osext-6e7f843_GH0.tar.gz) = 46cedd30cfc2b576226df5c1f4694b6f0d89927d396053a890e7f4b95afce62f +SIZE (kardianos-osext-6e7f843_GH0.tar.gz) = 4219 +SHA256 (golang-text-3eb7007_GH0.tar.gz) = b3cfe138ba44472c2bee2cacb15095536a40844ce378db26f451a9265bf3dc48 +SIZE (golang-text-3eb7007_GH0.tar.gz) = 3732219 +SHA256 (golang-net-51854ab_GH0.tar.gz) = 685a7eee0d2cee38d2435ebfbeea5d446af14bc26c989ef2f0ce86eb57643f89 +SIZE (golang-net-51854ab_GH0.tar.gz) = 537367 |