freebsd-ports/www/rubygem-gollum-lib/Makefile
Muhammad Moinur Rahman 18c6e18276 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
2023-01-14 17:08:33 -06:00

27 lines
811 B
Makefile

PORTNAME= gollum-lib
PORTVERSION= 5.2
PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Simple, Git-powered wiki with a sweet API and local frontend
WWW= https://github.com/gollum/gollum-lib
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-gemojione>=4.1<5:graphics/rubygem-gemojione \
rubygem-github-markup>=4.0<5:textproc/rubygem-github-markup \
rubygem-gollum-rugged_adapter>=1.0:www/rubygem-gollum-rugged_adapter \
rubygem-loofah>=2.3<3:textproc/rubygem-loofah \
rubygem-nokogiri>=1.8<2:textproc/rubygem-nokogiri \
rubygem-octicons>=12.0:misc/rubygem-octicons \
rubygem-rouge>=3.1<4:textproc/rubygem-rouge \
rubygem-twitter-text1>=1.14.7<1.14.8:textproc/rubygem-twitter-text1
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>