aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-rss.alt/Makefile
blob: 76bc07c423e48b0d09451e8184846de273b5a246 (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
40
41
42
43
44
45
46
47
48
49
50
51
# 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.0.8
CATEGORIES= textproc ruby
MASTER_SITES=   http://www.cozmixng.org/~kou/download/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
PKGNAMESUFFIX=  .alt
DIST_SUBDIR=    ruby

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

RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/uconv.so:${PORTSDIR}/japanese/ruby-uconv
# You can use ruby-xmlscan as an alternative XML parser to REXML:
#       ${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/textproc/ruby-xmlparser
# Or ruby-xmlparser:
#       ${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan

BROKEN=     Incomplete pkg-plist
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2005-09-22

CONFLICTS=  ruby-rss-*

USE_RUBY=   yes
USE_RUBY_SETUP= yes
USE_RUBY_FEATURES=  rexml

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

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif

.include <bsd.port.mk>