[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-redmine-red-andy-theme

File: [cvs.NetBSD.org] / pkgsrc / devel / ruby-redmine-red-andy-theme / Makefile (download)

Revision 1.2, Sat Sep 16 19:26:49 2017 UTC (2 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Changes since 1.1: +2 -2 lines

Reset maintainer

# $NetBSD: Makefile,v 1.2 2017/09/16 19:26:49 wiz Exp $
#

THEME_NAME=	red-andy
DISTNAME=	${THEME_NAME}_1.00
PKGNAME=	${RUBY_PKGPREFIX}-redmine-${DISTNAME:S/_/-theme-/1}
MASTER_SITES=	http://projects.andriylesyuk.com/attachments/download/581/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://blog.andriylesyuk.com/${THEME_NAME}-1-00-the-first-responsive-theme-for-redmine/
COMMENT=	First responsive theme for Redmine
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/${THEME_NAME}

.include "../../meta-pkgs/ruby-redmine-themes/Makefile.common"

REDANDY_DIR=		${REDMINE_THEMEDIR}/${THEME_NAME}

INSTALLATION_DIRS+=	${REDANDY_DIR}/images/mobile ${REDANDY_DIR}/javascripts
INSTALLATION_DIRS+=	${REDANDY_DIR}/stylesheets

do-install:
	for i in images javascripts stylesheets; do \
		${INSTALL_DATA} ${WRKSRC}/$$i/*.* \
			${DESTDIR}${PREFIX}/${REDANDY_DIR}/$$i; \
	done
	${INSTALL_DATA} ${WRKSRC}/images/mobile/* \
		${DESTDIR}${PREFIX}/${REDANDY_DIR}/images/mobile

.include "../../lang/ruby/rubyversion.mk"
.include "../../mk/bsd.pkg.mk"