Date: Sat, 10 Nov 2018 13:36:56 +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: r484611 - in head/devel/shards: . files Message-ID: <201811101336.wAADau78029022@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Sat Nov 10 13:36:56 2018 New Revision: 484611 URL: https://svnweb.freebsd.org/changeset/ports/484611 Log: devel/shards: update to 0.8.1 PR: 233105 Submitted by: Greg V <greg@unrelenting.technology> (maintainer) Added: head/devel/shards/files/ head/devel/shards/files/patch-Makefile (contents, props changed) Modified: head/devel/shards/Makefile (contents, props changed) head/devel/shards/distinfo (contents, props changed) Modified: head/devel/shards/Makefile ============================================================================== --- head/devel/shards/Makefile Sat Nov 10 13:16:05 2018 (r484610) +++ head/devel/shards/Makefile Sat Nov 10 13:36:56 2018 (r484611) @@ -2,8 +2,7 @@ PORTNAME= shards DISTVERSIONPREFIX= v -DISTVERSION= 0.7.2 -PORTREVISION= 3 +DISTVERSION= 0.8.1 CATEGORIES= devel MAINTAINER= greg@unrelenting.technology @@ -21,16 +20,10 @@ RUN_DEPENDS= git:devel/git USE_GITHUB= yes GH_ACCOUNT= crystal-lang +MAKE_ARGS+= CRFLAGS="--release --no-debug" + 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> Modified: head/devel/shards/distinfo ============================================================================== --- head/devel/shards/distinfo Sat Nov 10 13:16:05 2018 (r484610) +++ head/devel/shards/distinfo Sat Nov 10 13:36:56 2018 (r484611) @@ -1,3 +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 +TIMESTAMP = 1531135485 +SHA256 (crystal-lang-shards-v0.8.1_GH0.tar.gz) = 75c74ab6acf2d5c59f61a7efd3bbc3c4b1d65217f910340cb818ebf5233207a5 +SIZE (crystal-lang-shards-v0.8.1_GH0.tar.gz) = 31388 Added: head/devel/shards/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/shards/files/patch-Makefile Sat Nov 10 13:36:56 2018 (r484611) @@ -0,0 +1,24 @@ +--- Makefile.orig 2018-06-17 14:59:49 UTC ++++ Makefile +@@ -8,7 +8,7 @@ TEMPLATES = src/templates/*.ecr + DESTDIR = + PREFIX = /usr/local + BINDIR = $(DESTDIR)$(PREFIX)/bin +-MANDIR = $(DESTDIR)$(PREFIX)/share/man ++MANDIR = $(DESTDIR)$(PREFIX)/man + INSTALL = /usr/bin/install + + all: bin/shards +@@ -22,9 +22,9 @@ bin/shards: $(SOURCES) $(TEMPLATES) + + install: bin/shards phony + $(INSTALL) -m 0755 -d "$(BINDIR)" "$(MANDIR)/man1" "$(MANDIR)/man5" +- $(INSTALL) -m 0755 -t "$(BINDIR)" bin/shards +- $(INSTALL) -m 0644 -t "$(MANDIR)/man1" man/shards.1 +- $(INSTALL) -m 0644 -t "$(MANDIR)/man5" man/shard.yml.5 ++ $(INSTALL) -m 0755 bin/shards "$(BINDIR)" ++ $(INSTALL) -m 0644 man/shards.1 "$(MANDIR)/man1" ++ $(INSTALL) -m 0644 man/shard.yml.5 "$(MANDIR)/man5" + + uninstall: phony + rm -f "$(BINDIR)/shards"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811101336.wAADau78029022>