Index: head/devel/shards/Makefile =================================================================== --- head/devel/shards/Makefile (revision 484610) +++ head/devel/shards/Makefile (revision 484611) @@ -1,36 +1,29 @@ # $FreeBSD$ PORTNAME= shards DISTVERSIONPREFIX= v -DISTVERSION= 0.7.2 -PORTREVISION= 3 +DISTVERSION= 0.8.1 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 +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 Index: head/devel/shards/distinfo =================================================================== --- head/devel/shards/distinfo (revision 484610) +++ head/devel/shards/distinfo (revision 484611) @@ -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 Index: head/devel/shards/files/patch-Makefile =================================================================== --- head/devel/shards/files/patch-Makefile (nonexistent) +++ head/devel/shards/files/patch-Makefile (revision 484611) @@ -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" Property changes on: head/devel/shards/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property