pkgsrc/devel/ruby-mustache/Makefile
nils d609336505 Initial import of ruby-mustache, version 1.0.5, into pkgsrc.
Inspired by ctemplate and et, Mustache is a framework-agnostic way
to render logic-free views.
As ctemplates says, "It emphasizes separating logic from presentation:
it is impossible to embed application logic in this template language."
For a list of implementations (other than Ruby) and tips, see
http://mustache.github.io/.
2017-08-21 11:49:31 +00:00

21 lines
673 B
Makefile

# $NetBSD: Makefile,v 1.1 2017/08/21 11:49:31 nils Exp $
DISTNAME= mustache-1.0.5
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MAINTAINER= nils@NetBSD.org
HOMEPAGE= https://mustache.github.io/
COMMENT= Logic-less Ruby templates
LICENSE= mit
RUBYGEM_OPTIONS+= --format-executable
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
post-install:
${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${RUBY_PKGPREFIX}-mustache.1
${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/${RUBY_PKGPREFIX}-mustache.5
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"