67a9a06f33
- While I'm here, update RUN_DEPENDS Changes: https://github.com/gollum/gollum-lib/blob/master/HISTORY.md https://github.com/gollum/gollum-lib/commits/master PR: 221430 Submitted by: Sir l33tname <sirl33tname@gmail.com>
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# Created by: Johannes Meixner <johannes@perceivon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gollum-lib
|
|
PORTVERSION= 4.2.7
|
|
CATEGORIES= www rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Simple, Git-powered wiki with a sweet API and local frontend
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= rubygem-gemojione>=3.2:graphics/rubygem-gemojione \
|
|
rubygem-gollum-grit_adapter>=1.0:www/rubygem-gollum-grit_adapter \
|
|
rubygem-nokogiri>=1.6.1:textproc/rubygem-nokogiri \
|
|
rubygem-rouge>=2.1:textproc/rubygem-rouge \
|
|
rubygem-sanitize>=2.1:textproc/rubygem-sanitize \
|
|
rubygem-stringex>=2.6:devel/rubygem-stringex
|
|
|
|
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
|
|
|
|
NO_ARCH= yes
|
|
USES= gem
|
|
USE_RUBY= 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>
|