Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 13:25:27 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462318 - in head/devel: . shards
Message-ID:  <201802191325.w1JDPR76092791@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Mon Feb 19 13:25:27 2018
New Revision: 462318
URL: https://svnweb.freebsd.org/changeset/ports/462318

Log:
  Add devel/shards, dependency manager for the Crystal programming language
  
  PR:		224459
  Submitted by:	Greg V <greg@unrelenting.technology>

Added:
  head/devel/shards/
  head/devel/shards/Makefile   (contents, props changed)
  head/devel/shards/distinfo   (contents, props changed)
  head/devel/shards/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Feb 19 13:23:46 2018	(r462317)
+++ head/devel/Makefile	Mon Feb 19 13:25:27 2018	(r462318)
@@ -5900,6 +5900,7 @@
     SUBDIR += sfml1
     SUBDIR += sgb
     SUBDIR += shapelib
+    SUBDIR += shards
     SUBDIR += shedskin
     SUBDIR += shflags
     SUBDIR += shiboken

Added: head/devel/shards/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/shards/Makefile	Mon Feb 19 13:25:27 2018	(r462318)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=		shards
+DISTVERSIONPREFIX=	v
+DISTVERSION=		0.7.2
+CATEGORIES=		devel
+
+MAINTAINER=	greg@unrelenting.technology
+COMMENT=	Dependency manager for the Crystal programming language
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	crystal:lang/crystal
+LIB_DEPENDS=	libyaml.so:textproc/libyaml \
+		libpcre.so:devel/pcre \
+		libgc-threaded.so:devel/boehm-gc-threaded \
+		libevent.so:devel/libevent
+RUN_DEPENDS=	git:devel/git
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	crystal-lang
+
+PLIST_FILES=	bin/shards \
+		man/man1/shards.1.gz \
+		man/man5/shard.yml.5.gz
+
+do-build:
+	cd ${WRKSRC} && crystal build --release --no-debug -o bin/shards src/shards.cr
+
+do-install:
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/shards ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${INSTALL_WRKSRC}/src/man/shards.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+	${INSTALL_MAN} ${INSTALL_WRKSRC}/src/man/shard.yml.5 ${STAGEDIR}${MANPREFIX}/man/man5/
+
+.include <bsd.port.mk>

Added: head/devel/shards/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/shards/distinfo	Mon Feb 19 13:25:27 2018	(r462318)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513699120
+SHA256 (crystal-lang-shards-v0.7.2_GH0.tar.gz) = 97a3681e74d2fdcba0575f6906f4ba0aefc709a2eb672c7289c63176ff4f3be2
+SIZE (crystal-lang-shards-v0.7.2_GH0.tar.gz) = 30398

Added: head/devel/shards/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/shards/pkg-descr	Mon Feb 19 13:25:27 2018	(r462318)
@@ -0,0 +1,4 @@
+Shards is a dependency manager for the Crystal programming language. It
+downloads dependencies with Git, ensuring correct versions for all dependencies.
+
+WWW: https://github.com/crystal-lang/shards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802191325.w1JDPR76092791>