1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

www/rubygem-gollum-lib: Clean up

Remove the options since gitlab uses textproc/rubygem-gitlab-markup directly now.
This commit is contained in:
Po-Chuan Hsieh 2022-01-12 01:40:48 +08:00
parent 93877b491c
commit 56467e8155
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -12,6 +12,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-gemojione>=3.2<4:graphics/rubygem-gemojione \
rubygem-github-markup>=1.6:textproc/rubygem-github-markup \
rubygem-gollum-grit_adapter10>=1.0<2:www/rubygem-gollum-grit_adapter10 \
rubygem-nokogiri>=1.6.1<2.0:textproc/rubygem-nokogiri \
rubygem-rouge2>=2.1<3:textproc/rubygem-rouge2 \
@ -20,24 +21,8 @@ RUN_DEPENDS= rubygem-gemojione>=3.2<4:graphics/rubygem-gemojione \
rubygem-twitter-text1=1.14.7:textproc/rubygem-twitter-text1
USES= gem
OPTIONS_RADIO= MARKUP
OPTIONS_RADIO_MARKUP= GITHUB GITLAB
OPTIONS_DEFAULT?= GITHUB
MARKUP_DESC= Markup Selection
GITHUB_DESC= Use rubygem-github-markup (default)
GITLAB_DESC= Use rubygem-gitlab-markup instead
GITHUB_RUN_DEPENDS= rubygem-github-markup>=1.6:textproc/rubygem-github-markup
GITLAB_RUN_DEPENDS= rubygem-gitlab-markup>=1.5:textproc/rubygem-gitlab-markup
USE_RUBY= yes
NO_ARCH= yes
post-patch-GITLAB-on:
# change runtime dependency from "github-markup >= 1.6" to "gitlab-markup >= 1.5"
@${REINPLACE_CMD} -e '/s.add_runtime_dependency/ s|github-markup\(.*\)1.6|gitlab-markup\11.5|' ${WRKSRC}/${GEMSPEC}
.include <bsd.port.mk>