- Add LICENSE

- Remove RUN_DEPENDS
- Patch source file in post-patch:
- Fix space/tab
- Bump PORTREVISION for dependency and package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-05-27 16:22:02 +00:00
parent 745b732b6e
commit c650e58bc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387630

View file

@ -3,22 +3,20 @@
PORTNAME= scruffy
PORTVERSION= 0.2.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Beautiful Graphs for Ruby
RUN_DEPENDS= rubygem-builder>=2.0.0:${PORTSDIR}/devel/rubygem-builder
LICENSE= MIT
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
RUBYGEM_AUTOPLIST= yes
post-install:
${REINPLACE_CMD} -e 's|#{options|0 0 #{options|' \
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/scruffy/renderers/base.rb
grep options ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/scruffy/renderers/base.rb
post-patch:
@${REINPLACE_CMD} -e 's|#{options|0 0 #{options|' ${WRKSRC}/lib/scruffy/renderers/base.rb
.include <bsd.port.mk>