2000-08-07 19:56:53 +02:00
|
|
|
# New ports collection makefile for: Ruby-RDtool
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rdtool
|
2010-05-21 07:59:23 +02:00
|
|
|
PORTVERSION= 0.6.22
|
2000-08-16 14:21:24 +02:00
|
|
|
CATEGORIES= textproc ruby
|
2004-12-25 22:32:53 +01:00
|
|
|
MASTER_SITES= http://www.moonwolf.com/ruby/archive/
|
2000-09-07 09:23:43 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-08 18:08:31 +02:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 19:56:53 +02:00
|
|
|
|
2005-11-14 14:03:17 +01:00
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= RD to HTML/man/etc. converter (RD is to Ruby as POD is to Perl)
|
2000-08-07 19:56:53 +02:00
|
|
|
|
2001-12-08 14:12:13 +01:00
|
|
|
BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
|
2002-08-03 11:03:49 +02:00
|
|
|
racc:${PORTSDIR}/devel/ruby-racc
|
2000-08-07 19:56:53 +02:00
|
|
|
|
2000-09-07 09:23:43 +02:00
|
|
|
USE_RUBY= yes
|
2002-09-21 09:11:33 +02:00
|
|
|
USE_RUBY_FEATURES= optparse strscan
|
2004-12-25 22:32:53 +01:00
|
|
|
USE_RUBY_SETUP= yes
|
2000-08-07 19:56:53 +02:00
|
|
|
|
2002-10-06 23:38:34 +02:00
|
|
|
RUBY_MODNAME= rd
|
|
|
|
|
2010-05-21 07:59:23 +02:00
|
|
|
DOCS_EN= README.rd README.html doc/rd-draft.html doc/rd-draft.rd
|
|
|
|
DOCS_JA= README.rd.ja README.ja.html doc/rd-draft.ja.html doc/rd-draft.rd.ja
|
2000-08-07 19:56:53 +02:00
|
|
|
|
|
|
|
post-install:
|
2005-01-03 15:02:16 +01:00
|
|
|
${MKDIR} ${RUBY_SITELIBDIR}/rd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${RUBY_SITELIBDIR}/rd/
|
2000-08-07 19:56:53 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
2004-12-25 22:32:53 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${RUBY_MODEXAMPLESDIR}/
|
2002-10-06 23:38:34 +02:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
2000-08-12 22:09:41 +02:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 23:38:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-08-12 22:09:41 +02:00
|
|
|
.endfor
|
|
|
|
.for f in ${DOCS_JA}
|
2002-10-06 23:38:34 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
2000-08-12 22:09:41 +02:00
|
|
|
.endfor
|
2000-08-07 19:56:53 +02:00
|
|
|
.endif
|
2000-08-15 05:02:19 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-08-07 19:56:53 +02:00
|
|
|
|
2002-09-21 09:11:33 +02:00
|
|
|
.include <bsd.port.mk>
|