pkgsrc/devel/ruby-redmine-gitmike-theme/Makefile

34 lines
1 KiB
Makefile
Raw Normal View History

2017-09-16 21:26:41 +02:00
# $NetBSD: Makefile,v 1.5 2017/09/16 19:26:49 wiz Exp $
GITHUB_TAG= v1.1.0
DISTNAME= ${GITHUB_TAG}
GITHUB_PROJECT= redmine-theme-gitmike
PKGNAME= ${RUBY_PKGPREFIX}-redmine-gitmike-theme-${DISTNAME:S/v//1}
MASTER_SITES= ${MASTER_SITE_GITHUB:=makotokw/}
DIST_SUBDIR= ruby-redmine-gitmike-theme
2017-09-16 21:26:41 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
2016-06-09 08:23:38 +02:00
HOMEPAGE= https://github.com/makotokw/redmine-theme-gitmike
COMMENT= Github-like theme for Redmine
LICENSE= gnu-gpl-v3
.include "../../meta-pkgs/ruby-redmine-themes/Makefile.common"
GITMIKE_DIR= ${REDMINE_THEMEDIR}/gitmike
INSTALLATION_DIRS+= ${GITMIKE_DIR}/images ${GITMIKE_DIR}/sass
INSTALLATION_DIRS+= ${GITMIKE_DIR}/stylesheets
do-install:
${INSTALL_DATA} ${WRKSRC}/gulpfile.js \
${DESTDIR}${PREFIX}/${GITMIKE_DIR}
${INSTALL_DATA} ${WRKSRC}/package.json \
${DESTDIR}${PREFIX}/${GITMIKE_DIR}
for i in images sass stylesheets; do \
${INSTALL_DATA} ${WRKSRC}/$$i/* \
${DESTDIR}${PREFIX}/${GITMIKE_DIR}/$$i; \
done
.include "../../lang/ruby/rubyversion.mk"
.include "../../mk/bsd.pkg.mk"