aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-rss.alt/Makefile
blob: 645dcbc07984d218f0add7658f989d850d5e7bb0 (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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   rss
PORTVERSION=    0.2.6
CATEGORIES= textproc ruby
MASTER_SITES=   http://www.cozmixng.org/~kou/download/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
PKGNAMESUFFIX=  .alt
DIST_SUBDIR=    ruby

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Ruby library for handling RSS (alternative impl.)

OPTIONS_DEFINE= DOCS

RUN_DEPENDS=    ${LOCALBASE}/${SADIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv

CONFLICTS=  ruby-rss-*

USE_RUBY=   yes
USE_RUBY_SETUP= yes
SADIR=  lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}

DOCS_EN=    README.en Tutorial.en
DOCS_JA=    README.ja Tutorial.ja

post-install:
    ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
    ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/
    ${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/

.include <bsd.port.mk>