2001-03-10 11:46:19 +00:00
|
|
|
# New ports collection makefile for: Ruby/RSS
|
|
|
|
# Date created: 10 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rss
|
|
|
|
PORTVERSION= 0.9.1
|
2002-01-10 20:05:24 +00:00
|
|
|
PORTREVISION= 1
|
2001-03-10 11:46:19 +00:00
|
|
|
CATEGORIES= textproc ruby
|
|
|
|
MASTER_SITES= http://www.chadfowler.com/ruby/rss/
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2005-11-11 01:18:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 05:42:05 +00:00
|
|
|
COMMENT= Ruby library for parsing, creating, downloading, and caching RSS
|
2001-03-10 11:46:19 +00:00
|
|
|
|
2002-05-12 19:42:14 +00:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/textproc/ruby-xmlparser
|
2001-03-10 11:46:19 +00:00
|
|
|
|
2003-11-20 20:42:40 +00:00
|
|
|
CONFLICTS= ruby-rss.alt-*
|
|
|
|
|
2001-03-10 11:46:19 +00:00
|
|
|
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:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rss*.rb ${RUBY_SITELIBDIR}/
|
|
|
|
${CHMOD} +x ${RUBY_SITELIBDIR}/rssdrb.rb
|
|
|
|
${LN} -fs ${RUBY_SITELIBDIR}/rssdrb.rb ${PREFIX}/sbin/
|
|
|
|
${LN} -fs rssdrb.rb ${PREFIX}/sbin/rssdrb
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-03-10 11:46:19 +00:00
|
|
|
.for f in ${DOCS}
|
2002-10-06 21:38:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-03-10 11:46:19 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|