freebsd-ports/www/rubygem-jekyll3/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

40 lines
1.1 KiB
Makefile

PORTNAME= jekyll
PORTVERSION= 3.9.2
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 3
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple, blog aware, static site generator
WWW= https://jekyllrb.com/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-addressable>=2.4<3:www/rubygem-addressable \
rubygem-colorator>=1.0<2:textproc/rubygem-colorator \
rubygem-em-websocket>=0.5<1:www/rubygem-em-websocket \
rubygem-i18n>=0.7,2:devel/rubygem-i18n \
rubygem-jekyll-sass-converter1>=1.0<2:textproc/rubygem-jekyll-sass-converter1 \
rubygem-jekyll-watch>=2.0<3:www/rubygem-jekyll-watch \
rubygem-kramdown>=1.17<3:textproc/rubygem-kramdown \
rubygem-liquid4>=4.0<5:textproc/rubygem-liquid4 \
rubygem-mercenary>=0.3.3<1:devel/rubygem-mercenary \
rubygem-pathutil>=0.9<1:devel/rubygem-pathutil \
rubygem-rouge>=1.7<4:textproc/rubygem-rouge \
rubygem-safe_yaml>=1.0<2:devel/rubygem-safe_yaml
USES= cpe gem
CONFLICTS_INSTALL= rubygem-jekyll
NO_ARCH= yes
PLIST_FILES= bin/jekyll
CPE_VENDOR= jekyllrb
PORTSCOUT= limit:^3\.
.include <bsd.port.mk>