Update lang/gcc6-devel to version 6.2.1.s20160825
[dports.git] / textproc / ruby-rttool / Makefile
1 # Created by: TAKATSU Tomonari <tota@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       rttool
5 PORTVERSION=    1.0.3
6 PORTREVISION=   1
7 CATEGORIES=     textproc ruby
8 MASTER_SITES=   http://www.rubyist.net/~rubikitch/archive/ \
9                 LOCAL/tota/ruby-rttool
10 PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
11 DIST_SUBDIR=    ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
12
13 MAINTAINER=     tota@FreeBSD.org
14 COMMENT=        RT into HTML and plain text converter
15
16 LICENSE=        RUBY
17
18 USE_RUBY=       yes
19 USES=           shebangfix
20 USE_RUBY_SETUP= yes
21 USE_RUBY_RDTOOL=        yes
22
23 SHEBANG_FILES=  bin/rt/* lib/rt/*
24 RUBY_MODNAME=   rt
25
26 DOCS_EN=        rttool.en.html rttool.en.rd
27 DOCS_JA=        rttool.ja.html rttool.ja.rd
28
29 OPTIONS_DEFINE= DOCS EXAMPLES
30
31 post-install:
32         @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
33 .for f in ${DOCS_EN}
34         ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
35 .endfor
36 .for f in ${DOCS_JA}
37         ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
38 .endfor
39         @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
40         cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
41
42 .include <bsd.port.mk>