Date: Wed, 24 Sep 2014 04:53:12 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369158 - in head/misc: . exercism Message-ID: <201409240453.s8O4rC9k041240@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed Sep 24 04:53:11 2014 New Revision: 369158 URL: http://svnweb.freebsd.org/changeset/ports/369158 QAT: https://qat.redports.org/buildarchive/r369158/ Log: misc/exercism: create port for exercism.io cli client An easy command line interface to work with exercism.io WWW: http://exercism.io/ Added: head/misc/exercism/ head/misc/exercism/Makefile (contents, props changed) head/misc/exercism/distinfo (contents, props changed) head/misc/exercism/pkg-descr (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Wed Sep 24 04:07:08 2014 (r369157) +++ head/misc/Makefile Wed Sep 24 04:53:11 2014 (r369158) @@ -74,6 +74,7 @@ SUBDIR += esniper SUBDIR += estic SUBDIR += excel-writer + SUBDIR += exercism SUBDIR += explosions SUBDIR += fbless SUBDIR += felis Added: head/misc/exercism/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/exercism/Makefile Wed Sep 24 04:53:11 2014 (r369158) @@ -0,0 +1,33 @@ +# Created by: Steve Wills <swills@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= exercism +PORTVERSION= 1.7.1 +CATEGORIES= misc +MASTER_SITES= https://github.com/${PORTNAME}/cli/archive/v${PORTVERSION}.tar.gz?dummy=/:group1 \ + https://codeload.github.com/codegangsta/cli/legacy.tar.gz/f7ebb76?dummy=/:group2 +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:group1 \ + 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} + +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 + +do-build: + cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build -o exercism + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/exercism ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> Added: head/misc/exercism/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/exercism/distinfo Wed Sep 24 04:53:11 2014 (r369158) @@ -0,0 +1,4 @@ +SHA256 (exercism-1.7.1.tar.gz) = 47357e762f80797071311c6057724ad7b315cd5b11b9dd751fe68012e5db38b4 +SIZE (exercism-1.7.1.tar.gz) = 11877 +SHA256 (codegansta-cli-f7ebb76.tar.gz) = 216232029c7f391a9312493f4a2b66b2fffa8f4fcee5104bfff7847d5683ee6e +SIZE (codegansta-cli-f7ebb76.tar.gz) = 15185 Added: head/misc/exercism/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/exercism/pkg-descr Wed Sep 24 04:53:11 2014 (r369158) @@ -0,0 +1,3 @@ +An easy command line interface to work with exercism.io + +WWW: http://exercism.io/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409240453.s8O4rC9k041240>