pkgsrc/games/ruby-squib/Makefile

32 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.19 2020/03/24 00:34:50 taca Exp $
DISTNAME= squib-0.15.3
#MASTER_SITES= ${MASTER_SITE_GITHUB:=andymeneely/}
CATEGORIES= games
#GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://squib.rocks/
COMMENT= Tool for prototyping card and board games
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-mercenary>=0.3.6:../../devel/ruby-mercenary
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.10.4:../../textproc/ruby-nokogiri
games/ruby-squib: update to 0.14.0 ## v0.14.0 / 2017-11-06 Features: * `save_pdf/save_sheet` method now supports `sprue`, which allows you to define templated layouts and position your cards freely (#217) by @felixleong. See docs for how to use this _very_ powerful feature! * `circle` method now supports various `arc` options, so you can draw partial circles (#211) by @sparr * `save_sheet` method now supports `rtl` or "right-to-left", for easier duplex printing of backs (#204, #208) by @sparr * `yaml` method for reading in data, much like `csv` and `xlsx` by @blinks * Layouts now support `*=` and `/=` operators in addition to `+=` and `-=` (#200). * `save_pdf` method also supports `rtl` by @vador * New DSL methods `safe_zone` and `cut_zone` will draw a rectangle inset from the margins for quick proof checking * New "advanced" option for creating new projects, if you do `squib new --advanced yourgame` (@andymeneely). * New built-in layout: `party.yml`. (@andymeneely) Compatibility: * DPI is correctly respected with font sizes now. To convert to Squib v0.14+, divide your old font sizes by 3 (precisely, 300/96=3.125). By @felixleong Docs: * Command-line is better documented now * Some more examples included in various places Bugs: * fix save_sheet to calculate rows correctly based on range (#207) by @sparr Chores: * Going back to our policy of locking in our dependencies so that we don't have new gems breaking things. * Bumped deps, Cairo to 1.15.10 and Pango et al. to 3.1.9 Special thanks to @sparr, @felixleong, @blinks, @vador for all of their work!!
2018-03-14 15:33:35 +01:00
DEPENDS+= ${RUBY_PKGPREFIX}-classy_hash>=0.2.1<0.3:../../devel/ruby-classy_hash
#DEPENDS+= ${RUBY_PKGPREFIX}-pkg-config-[0-9]*:../../devel/ruby-pkg-config
#DEPENDS+= ${RUBY_PKGPREFIX}-cairo>=1.16:../../graphics/ruby-cairo
DEPENDS+= ${RUBY_PKGPREFIX}-progressbar>=1.10<2:../../misc/ruby-progressbar
DEPENDS+= ${RUBY_PKGPREFIX}-roo>=2.8.2<2.9:../../math/ruby-roo
DEPENDS+= ${RUBY_PKGPREFIX}-pango>=3.4<4:../../devel/ruby-pango
DEPENDS+= ${RUBY_PKGPREFIX}-rsvg2>=3.4<4:../../graphics/ruby-rsvg2
#DEPENDS+= ${RUBY_PKGPREFIX}-gobject-introspection>=3.4<4:../../devel/ruby-gobject-introspection
#DEPENDS+= ${RUBY_PKGPREFIX}-gio2>=3.4<4:../../devel/ruby-gio2
DEPENDS+= ${RUBY_PKGPREFIX}-highline>=2.0.2<2.1:../../devel/ruby-highline
RUBYGEM_OPTIONS+= --format-executable
2017-06-18 15:48:53 +02:00
OVERRIDE_GEMSPEC+= mercenary>=0.3.6
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"