aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-rss.alt/Makefile
blob: 17faa13493855957c8f11fbc3bf76cf28ee99179 (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
# New ports collection makefile for:    Ruby/RSS (alternative impl.)
# Date created:     23 March 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   rss
PORTVERSION=    0.2.4
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.)

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

CONFLICTS=  ruby-rss-*

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

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}/ja
    ${INSTALL_DATA} ${DOCS_EN:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
    ${INSTALL_DATA} ${DOCS_JA:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/ja/
.endif

.include <bsd.port.mk>