aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-05-13 18:02:35 +0000
committerMark Felder <feld@FreeBSD.org>2016-05-13 18:02:35 +0000
commitaceadac4818920d8fcaae49aec0b7a709beeba76 (patch)
treeaa1742316464dd81c7268ee64b9f5bb7fb171b8e /www
parent5a87cf6c6e3d5dbf0590acf493a90dc1f0d70830 (diff)
downloadports-aceadac4818920d8fcaae49aec0b7a709beeba76.tar.gz
ports-aceadac4818920d8fcaae49aec0b7a709beeba76.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/redmine-knowledgebase/Makefile27
-rw-r--r--www/redmine-knowledgebase/distinfo2
-rw-r--r--www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb15
-rw-r--r--www/redmine-knowledgebase/pkg-descr4
5 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index eceff473603c..5e2f5a303ddc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1834,6 +1834,7 @@
SUBDIR += redmine-default_assign
SUBDIR += redmine-graphs
SUBDIR += redmine-http-auth
+ SUBDIR += redmine-knowledgebase
SUBDIR += redmine-qa_contact
SUBDIR += redmine-redcarpet_formatter
SUBDIR += redmine-sidebar_hide
diff --git a/www/redmine-knowledgebase/Makefile b/www/redmine-knowledgebase/Makefile
new file mode 100644
index 000000000000..7cf1d0330441
--- /dev/null
+++ b/www/redmine-knowledgebase/Makefile
@@ -0,0 +1,27 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= knowledgebase
+PORTVERSION= 2.3.0
+DISTVERSIONPREFIX=v
+CATEGORIES= www
+PKGNAMEPREFIX= redmine-
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= Knowledgebase functionality for Redmine
+
+LICENSE= MIT
+
+NO_ARCH= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= alexbevi
+GH_PROJECT= redmine_knowledgebase
+
+REDMINE_PLUGIN_NAME= redmine_${PORTNAME}
+
+RUN_DEPENDS+= rubygem-redmine_acts_as_taggable_on>0:devel/rubygem-redmine_acts_as_taggable_on \
+ rubygem-ya2yaml>0:textproc/rubygem-ya2yaml \
+ rubygem-awesome_nested_set>0:databases/rubygem-awesome_nested_set
+
+.include "${.CURDIR}/../../www/redmine/bsd.redmine.mk"
diff --git a/www/redmine-knowledgebase/distinfo b/www/redmine-knowledgebase/distinfo
new file mode 100644
index 000000000000..534cd827b491
--- /dev/null
+++ b/www/redmine-knowledgebase/distinfo
@@ -0,0 +1,2 @@
+SHA256 (alexbevi-redmine_knowledgebase-v2.3.0_GH0.tar.gz) = 9d7e050d9851b313a838ded47e8d1bf386741389497c55710a93bea0a85ed320
+SIZE (alexbevi-redmine_knowledgebase-v2.3.0_GH0.tar.gz) = 71659
diff --git a/www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb b/www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb
new file mode 100644
index 000000000000..2c84869d358b
--- /dev/null
+++ b/www/redmine-knowledgebase/files/patch-app_helpers_knowledgebase__helper.rb
@@ -0,0 +1,15 @@
+--- app/helpers/knowledgebase_helper.rb.orig 2013-06-25 12:40:55 UTC
++++ app/helpers/knowledgebase_helper.rb
+@@ -53,7 +53,11 @@ module KnowledgebaseHelper
+ def create_preview_link
+ v = Redmine::VERSION.to_a
+ if v[0] == 2 && v[1] <= 1
+- link_to_remote(l(:label_preview), { :url => { :controller => 'articles', :action => 'preview' }, :method => 'post', :update => 'preview', :with => "Form.serialize('articles-form')")
++ link_to_remote l(:label_preview),
++ { :url => { :controller => 'articles', :action => 'preview' },
++ :method => 'post',
++ :update => 'preview',
++ :with => "Form.serialize('articles-form')" }
+ else
+ preview_link({ :controller => 'articles', :action => 'preview' }, 'articles-form')
+ end
diff --git a/www/redmine-knowledgebase/pkg-descr b/www/redmine-knowledgebase/pkg-descr
new file mode 100644
index 000000000000..f39f0ed9d162
--- /dev/null
+++ b/www/redmine-knowledgebase/pkg-descr
@@ -0,0 +1,4 @@
+This plugin adds professional knowledgebase functionality to the Redmine
+project management application.
+
+WWW: https://github.com/alexbevi/redmine_knowledgebase