blob: c3891518628ad3630d92f4b9b71fdb644e98f4b9 (
plain)
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
|
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= rss
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= textproc ruby
MASTER_SITES= http://www.chadfowler.com/ruby/rss/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby library for parsing, creating, downloading, and caching RSS
OPTIONS_DEFINE= DOCS EXAMPLES
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/xmlparser.so:textproc/ruby-xmlparser
CONFLICTS= ruby-rss.alt-*
USE_RUBY= yes
NO_BUILD= yes
INSTALL_TARGET= site-install
RUBY_SHEBANG_FILES= ${WRKSRC}/rssdrb.rb ${WRKSRC}/samples/rsstest.rb
DOCS= ChangeLog README
do-install:
@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/rss*.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
${CHMOD} +x ${STAGEDIR}${RUBY_SITELIBDIR}/rssdrb.rb
${LN} -fs ${RUBY_SITELIBDIR}/rssdrb.rb ${STAGEDIR}${PREFIX}/sbin/
${LN} -fs rssdrb.rb ${STAGEDIR}${PREFIX}/sbin/rssdrb
@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.include <bsd.port.mk>
|