freebsd-ports/textproc/ruby-rss.alt/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

# 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
2003-11-20 21:42:28 +01:00
PORTVERSION= 0.0.7
CATEGORIES= textproc ruby
2003-07-29 08:30:16 +02:00
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 \
${RUBY_SITELIBDIR}/xmlscan/parser.rb:${PORTSDIR}/textproc/ruby-xmlscan
2003-06-01 14:13:43 +02:00
# You can use ruby-xmlparser as an alternative to xmlscan:
# ${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/textproc/ruby-xmlparser
# You can use REXML as an alternative to xmlscan, but 2.5.0 or later only:
# ${RUBY_SITELIBDIR}/rexml/document.rb:${PORTSDIR}/textproc/ruby-rexml
2003-11-20 21:42:28 +01:00
CONFLICTS= ruby-rss-*
USE_RUBY= yes
USE_RUBY_SETUP= yes
DOCS_EN= README.en Tutorial.en
DOCS_JA= README.ja Tutorial.ja
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
2003-03-28 10:54:35 +01:00
${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>