pkgsrc/www/motyl/Makefile
fcambus b367c71b48 www/motyl: import motyl-1.0.2.
Motyl is an opinionated blog-aware static site generator written in Ruby. It
uses Mustache as templating system, and all content is written in Markdown.

OK kamil@
2019-09-10 12:26:43 +00:00

31 lines
875 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/09/10 12:26:43 fcambus Exp $
DISTNAME= motyl-1.0.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
GITHUB_PROJECT= motyl
GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= fcambus@NetBSD.org
HOMEPAGE= https://github.com/fcambus/motyl/
COMMENT= Opinionated blog-aware static site generator
LICENSE= 2-clause-bsd
DEPENDS+= ${RUBY_PKGPREFIX}-mustache-[0-9]*:../../devel/ruby-mustache
DEPENDS+= ${RUBY_PKGPREFIX}-kramdown-[0-9]*:../../textproc/ruby-kramdown
DEPENDS+= ${RUBY_PKGPREFIX}-rouge-[0-9]*:../../www/ruby-rouge
NO_BUILD= yes
REPLACE_RUBY= bin/motyl
DOCDIR= share/doc/motyl
INSTALLATION_DIRS+= bin ${DOCDIR}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/motyl ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../lang/ruby/replace.mk"
.include "../../mk/bsd.pkg.mk"