pkgsrc/devel/ruby-redmine_code_review/Makefile
taca 635aba7a69 devel/ruby-redmine_code_review: update to 1.0.0
Update ruby-redmine_code_review to 1.0.0.


1.0.0 (2018-12-31)

Compatible with Redmine 4.0.0
This version is not compatible with Redmine 3.x or before.


0.9.0 (2017-08-08)

This is a bug fix release.
Target Redmine version is 3.4.0 or higher.

1. Add review tag does not appear on repository browser.
2. Delete confirmation dialog does not appear when click delete review link.
2020-05-06 14:10:15 +00:00

91 lines
4.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2020/05/06 14:10:15 taca Exp $
DISTNAME= ${GITHUB_TAG}
PKGNAME= ${RUBY_PKGPREFIX}-${PLUGIN_NAME}-${DISTNAME}
MASTER_SITES= ${MASTER_SITE_GITHUB:=haru/}
GITHUB_PROJECT= ${PLUGIN_NAME}
GITHUB_TAG= 1.0.0
DIST_SUBDIR= ruby-${PLUGIN_NAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.r-labs.org/projects/codereview
COMMENT= Redmine plugin to annotate source code within the repo browser
LICENSE= gnu-gpl-v2 AND mit
PLUGIN_NAME= redmine_code_review
.include "../../meta-pkgs/ruby-redmine-plugins/Makefile.common"
NO_CONFIGURE= yes
NO_BUILD= yes
CODE_REVIEW_PLUGIN_DIR= ${REDMINE_PLUGINDIR}/${PLUGIN_NAME}
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/app/controllers
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/app/helpers
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/app/models
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/app/views/code_review
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/app/views/code_review_settings
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/images
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/javascripts
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/alert
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/alphacube
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/darkX
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/default
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/iefix
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/lighting
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/mac_os_x
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/mac_os_x_dialog
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/nuncio
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/spread
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/config/locales
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/db/migrate
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/lib
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/test/exemplars
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/test/fixtures
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/test/functional
INSTALLATION_DIRS+= ${CODE_REVIEW_PLUGIN_DIR}/test/unit
do-install:
${INSTALL_DATA} ${WRKSRC}/init.rb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}
for i in controllers helpers models; do \
${INSTALL_DATA} ${WRKSRC}/app/$$i/*.rb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/app/$$i/; \
done
for i in code_review code_review_settings; do \
${INSTALL_DATA} ${WRKSRC}/app/views/$$i/*.erb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/app/views/$$i/; \
done
for i in images javascripts; do \
${INSTALL_DATA} ${WRKSRC}/assets/$$i/* \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/assets/$$i/; \
done
${INSTALL_DATA} ${WRKSRC}/assets/stylesheets/*.css \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets
${INSTALL_DATA} ${WRKSRC}/assets/stylesheets/window_js/*.css \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js
${INSTALL_DATA} ${WRKSRC}/assets/stylesheets/window_js/behavior.htc \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js
for i in alert alphacube darkX default iefix lighting mac_os_x \
mac_os_x_dialog nuncio spread; do \
${INSTALL_DATA} ${WRKSRC}/assets/stylesheets/window_js/$$i/* \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/assets/stylesheets/window_js/$$i/; \
done
${INSTALL_DATA} ${WRKSRC}/config/routes.rb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/config
${INSTALL_DATA} ${WRKSRC}/config/locales/*.yml \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/config/locales
${INSTALL_DATA} ${WRKSRC}/db/migrate/*.rb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/db/migrate
${INSTALL_DATA} ${WRKSRC}/lib/*.rb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/lib
${INSTALL_DATA} ${WRKSRC}/test/*.rb \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/test
for i in exemplars fixtures functional unit; do \
${INSTALL_DATA} ${WRKSRC}/test/$$i/* \
${DESTDIR}${PREFIX}/${CODE_REVIEW_PLUGIN_DIR}/test/$$i; \
done
.include "../../lang/ruby/rubyversion.mk"
.include "../../mk/bsd.pkg.mk"