1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/textproc/ruby-rss/Makefile
Mark Linimon 34da9bdf57 With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
2005-11-11 01:18:01 +00:00

47 lines
1.2 KiB
Makefile

# 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
PORTREVISION= 1
CATEGORIES= textproc ruby
MASTER_SITES= http://www.chadfowler.com/ruby/rss/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= Ruby library for parsing, creating, downloading, and caching RSS
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/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:
${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)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>