aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-hikidoc/Makefile
blob: 18f71580f6bebccd4f77c7982b05fb06519d9549 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$

PORTNAME=	hikidoc
PORTVERSION=	0.0.6
CATEGORIES=	textproc ruby
MASTER_SITES=	RF
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	A text-to-HTML conversion tool for web writers

USE_RUBY=	yes
USE_RUBY_SETUP=	yes
RUBY_SHEBANG_FILES=	bin/hikidoc

PORTDOCS=	NEWS NEWS.ja README README.ja \
		TextFormattingRules TextFormattingRules.ja

PLIST_FILES=	bin/hikidoc \
		%%RUBY_SITELIBDIR%%/hikidoc.rb

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	@${INSTALL_DATA} ${INSTALL_WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>