diff options
author | rodent <rodent@pkgsrc.org> | 2015-07-06 04:12:49 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2015-07-06 04:12:49 +0000 |
commit | 1913accb2295301a5899042b32a3e50fc9426992 (patch) | |
tree | f1440a5584a9f47d2a9ffb6b80cc12fd3c9426ab /devel/ruby-redmine_lightbox2 | |
parent | d1f921d5af97d5dd92b4d55e0efda5ddb1229fe4 (diff) | |
download | pkgsrc-1913accb2295301a5899042b32a3e50fc9426992.tar.gz |
Adding the following Redmine theme/plugin packages:
ruby-redmine-gitmike-theme
ruby-redmine-minimalflat-theme
ruby-redmine_bootstrap_kit
ruby-redmine_code_review
ruby-redmine_jenkins
ruby-redmine_lightbox2
ruby-redmine_theme_changer
ruby-redmine_work_time
Diffstat (limited to 'devel/ruby-redmine_lightbox2')
-rw-r--r-- | devel/ruby-redmine_lightbox2/DESCR | 2 | ||||
-rw-r--r-- | devel/ruby-redmine_lightbox2/MESSAGE | 2 | ||||
-rw-r--r-- | devel/ruby-redmine_lightbox2/Makefile | 51 | ||||
-rwxr-xr-x | devel/ruby-redmine_lightbox2/PLIST | 18 | ||||
-rw-r--r-- | devel/ruby-redmine_lightbox2/distinfo | 5 |
5 files changed, 78 insertions, 0 deletions
diff --git a/devel/ruby-redmine_lightbox2/DESCR b/devel/ruby-redmine_lightbox2/DESCR new file mode 100644 index 00000000000..b57bc408345 --- /dev/null +++ b/devel/ruby-redmine_lightbox2/DESCR @@ -0,0 +1,2 @@ +The Redmine Lightbox 2 plugin lets users preview image, PDF, and SWF attachments in a lightbox. This is a fork of zipme's redmine_lightbox plugin and supports +Redmine 3.0 only. diff --git a/devel/ruby-redmine_lightbox2/MESSAGE b/devel/ruby-redmine_lightbox2/MESSAGE new file mode 100644 index 00000000000..15948782185 --- /dev/null +++ b/devel/ruby-redmine_lightbox2/MESSAGE @@ -0,0 +1,2 @@ + +=========================================================================== diff --git a/devel/ruby-redmine_lightbox2/Makefile b/devel/ruby-redmine_lightbox2/Makefile new file mode 100644 index 00000000000..249e62807c1 --- /dev/null +++ b/devel/ruby-redmine_lightbox2/Makefile @@ -0,0 +1,51 @@ +# $NetBSD: Makefile,v 1.1 2015/07/06 04:12:49 rodent Exp $ +# + +GITHUB_TAG= v0.2.2 +DISTNAME= ${GITHUB_TAG} +GITHUB_PROJECT= redmine_lightbox2 +PKGNAME= ${RUBY_PKGPREFIX}-${GITHUB_PROJECT}-${DISTNAME:S/v//1} +MASTER_SITES= ${MASTER_SITE_GITHUB:=paginagmbh/} +DIST_SUBDIR= ruby-${GITHUB_PROJECT} + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= ${MASTER_SITES}${GITHUB_PROJECT} +COMMENT= Lightbox for image attachments in Redmine +LICENSE= mit + +.include "../../meta-pkgs/ruby-redmine-plugins/Makefile.common" + +NO_CONFIGURE= yes +NO_BUILD= yes + +LIGHTBOX2_PLUGIN_DIR= ${REDMINE_PLUGINDIR}/redmine_lightbox2 + +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/app/views/attachments +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/assets/images +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/assets/javascripts +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/assets/stylesheets +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/config +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/lib/hooks +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/lib/patches +INSTALLATION_DIRS+= ${LIGHTBOX2_PLUGIN_DIR}/test + +do-install: + ${INSTALL_DATA} ${WRKSRC}/init.rb \ + ${DESTDIR}${PREFIX}/${LIGHTBOX2_PLUGIN_DIR} + ${INSTALL_DATA} ${WRKSRC}/app/views/attachments/* \ + ${DESTDIR}${PREFIX}/${LIGHTBOX2_PLUGIN_DIR}/app/views/attachments + for i in images javascripts stylesheets; do \ + ${INSTALL_DATA} ${WRKSRC}/assets/$$i/* \ + ${DESTDIR}${PREFIX}/${LIGHTBOX2_PLUGIN_DIR}/assets/$$i; \ + done + ${INSTALL_DATA} ${WRKSRC}/config/routes.rb \ + ${DESTDIR}${PREFIX}/${LIGHTBOX2_PLUGIN_DIR}/config + for i in hooks patches; do \ + ${INSTALL_DATA} ${WRKSRC}/lib/$$i/* \ + ${DESTDIR}${PREFIX}/${LIGHTBOX2_PLUGIN_DIR}/lib/$$i; \ + done + ${INSTALL_DATA} ${WRKSRC}/test/test_helper.rb \ + ${DESTDIR}${PREFIX}/${LIGHTBOX2_PLUGIN_DIR}/test + +.include "../../lang/ruby/rubyversion.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-redmine_lightbox2/PLIST b/devel/ruby-redmine_lightbox2/PLIST new file mode 100755 index 00000000000..35887b8f69f --- /dev/null +++ b/devel/ruby-redmine_lightbox2/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2015/07/06 04:12:49 rodent Exp $ +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/app/views/attachments/_links.html.erb +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/blank.gif +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/fancybox_loading.gif +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/fancybox_loading@2x.gif +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/fancybox_overlay.png +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/fancybox_sprite.png +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/fancybox_sprite@2x.png +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/images/preview.png +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/javascripts/jquery.fancybox-2.1.5.pack.js +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/javascripts/lightbox.js +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/stylesheets/jquery.fancybox-2.1.5.css +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/assets/stylesheets/lightbox.css +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/config/routes.rb +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/init.rb +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/lib/hooks/view_layouts_base_html_head_hook.rb +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/lib/patches/attachments_patch.rb +share/${RUBY_PKGPREFIX}-redmine/app/plugins/redmine_lightbox2/test/test_helper.rb diff --git a/devel/ruby-redmine_lightbox2/distinfo b/devel/ruby-redmine_lightbox2/distinfo new file mode 100644 index 00000000000..42e519dbf28 --- /dev/null +++ b/devel/ruby-redmine_lightbox2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/07/06 04:12:49 rodent Exp $ + +SHA1 (ruby-redmine_lightbox2/v0.2.2.tar.gz) = 0dc562efb9ce9ae9a89fc9c5abbca31a283fb12f +RMD160 (ruby-redmine_lightbox2/v0.2.2.tar.gz) = 9ddfd76c37be3462d100cfc21534d4fd64deaf39 +Size (ruby-redmine_lightbox2/v0.2.2.tar.gz) = 42729 bytes |