pkgsrc/devel/ruby-redmine-gitmike-theme/Makefile
2015-10-24 07:37:12 +00:00

33 lines
1,010 B
Makefile

# $NetBSD: Makefile,v 1.2 2015/10/24 07:37:12 wiz Exp $
GITHUB_TAG= r7
DISTNAME= ${GITHUB_TAG}
GITHUB_PROJECT= redmine-theme-gitmike
PKGNAME= ${RUBY_PKGPREFIX}-redmine-gitmike-theme-${DISTNAME:S/r//}
MASTER_SITES= ${MASTER_SITE_GITHUB:=makotokw/}
DIST_SUBDIR= ruby-redmine-gitmike-theme
MAINTAINER= rodent@NetBSD.org
HOMEPAGE= ${MASTER_SITES}${GITHUB_PROJECT}
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}/Gruntfile.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"