blob: d41ed161e3944733f851918871b0e04402259733 (
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
32
33
34
35
36
37
38
39
|
PORTNAME= uconv
PORTVERSION= 0.5.3
CATEGORIES= japanese converters ruby
MASTER_SITES= http://www.yoshidam.net/
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Unicode conversion library with Japanese codesets support for Ruby
WWW= http://www.yoshidam.net/Ruby.html #uconv
LICENSE= RUBY
LICENSE_FILE= ${WRKSRC}/README
USES= ruby:extconf
MAKE_ARGS= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROG="${INSTALL_PROGRAM}"
INSTALL_TARGET= site-install
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
post-patch:
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
@${REINPLACE_CMD} -e 's|fdeclspec|fdeclspec -Wno-error=incompatible-function-pointer-types|g' \
${WRKSRC}/extconf.rb
.endif
post-install:
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.include <bsd.port.post.mk>
|