1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/ruby-rdtool/Makefile
Dmitry Marakasov 68a5cc350c - Don't cat pkg-message from Makefiles
Approved by:	portmgr blanket
2015-05-27 00:09:55 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= rdtool
PORTVERSION= 0.6.38
DISTVERSIONPREFIX= v
CATEGORIES= textproc ruby
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= RD to HTML/man/etc. converter (RD is to Ruby as POD is to Perl)
BUILD_DEPENDS= racc:${PORTSDIR}/devel/rubygem-racc
USE_GITHUB= yes
GH_ACCOUNT= uwabami
USE_RUBY= yes
USE_RUBY_SETUP= yes
USE_RAKE= yes
RUBY_MODNAME= rd
DOCS_EN= README.rd doc/rd-draft.rd
DOCS_JA= README.rd.ja doc/rd-draft.rd.ja
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/rd
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${STAGEDIR}${RUBY_SITELIBDIR}/rd/
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.endfor
.include <bsd.port.mk>