9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
52 lines
1.8 KiB
Makefile
52 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2020/01/26 17:31:04 rillig Exp $
|
|
#
|
|
|
|
PLUGIN_NAME= redmine_theme_changer
|
|
DISTNAME= ${PLUGIN_NAME}-0.2.0
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
MASTER_SITES= https://bitbucket.org/haru_iida/${PLUGIN_NAME}/downloads/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.r-labs.org/projects/r-labs/wiki/Theme_Changer_en
|
|
COMMENT= Redmine plugin to allow each user to select the theme of Redmine
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
.include "../../meta-pkgs/ruby-redmine-plugins/Makefile.common"
|
|
|
|
WRKSRC= ${WRKDIR}/${PLUGIN_NAME}
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
TC_PLUGIN_DIR= ${REDMINE_PLUGINDIR}/${PLUGIN_NAME}
|
|
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/app/models
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/app/views/my
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/config/locales
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/db/migrate
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/lib
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/test/fixtures
|
|
INSTALLATION_DIRS+= ${TC_PLUGIN_DIR}/test/unit
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/init.rb \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/app/models/* \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/app/models
|
|
${INSTALL_DATA} ${WRKSRC}/app/views/my/* \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/app/views/my
|
|
${INSTALL_DATA} ${WRKSRC}/config/locales/*.yml \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/config/locales
|
|
${INSTALL_DATA} ${WRKSRC}/db/migrate/*.rb \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/db/migrate
|
|
${INSTALL_DATA} ${WRKSRC}/lib/*.rb \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/test/test_helper.rb \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/test
|
|
for i in fixtures unit; do \
|
|
${INSTALL_DATA} ${WRKSRC}/test/$$i/* \
|
|
${DESTDIR}${PREFIX}/${TC_PLUGIN_DIR}/test/$$i; \
|
|
done
|
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|