pkgsrc/www/ruby-tag/Makefile

30 lines
799 B
Makefile

# $NetBSD: Makefile,v 1.19 2015/06/11 15:37:22 taca Exp $
DISTNAME= tag104
PKGNAME= ${RUBY_PKGPREFIX}-tag-1.0.4
PKGREVISION= 3
CATEGORIES= www ruby
MASTER_SITES= http://www.moonwolf.com/ruby/archive/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.moonwolf.com/ruby/tag.html
COMMENT= Ruby Simple HTML Tag library for CGI
EXTRACT_USING= bsdtar
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
INSTALLATION_DIRS= ${RUBY_VENDORLIB} ${RUBY_DOC}/tag/ja
do-build:
@cd ${WRKSRC}; ${RUBY_RD} tag.rb > tag.html
do-install:
${INSTALL_DATA} ${WRKSRC}/tag.rb ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}
${INSTALL_DATA} ${WRKSRC}/tag.html ${DESTDIR}${PREFIX}/${RUBY_DOC}/tag/ja
.include "../../lang/ruby/modules.mk"
.include "../../textproc/ruby-rdtool/rdtool.mk"
.include "../../mk/bsd.pkg.mk"