aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-cvs
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-07-20 09:32:40 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-07-20 09:32:40 +0000
commite84b923025d19c8a8e2491f6f8d108057cfa2797 (patch)
tree178ec692f4449092e4da5989477dd84fd752a184 /devel/ruby-cvs
parentabff510ac6a422002394fa243f8247a73933a35d (diff)
downloadports-e84b923025d19c8a8e2491f6f8d108057cfa2797.tar.gz
ports-e84b923025d19c8a8e2491f6f8d108057cfa2797.zip
Notes
Diffstat (limited to 'devel/ruby-cvs')
-rw-r--r--devel/ruby-cvs/Makefile50
-rw-r--r--devel/ruby-cvs/distinfo1
-rw-r--r--devel/ruby-cvs/pkg-comment1
-rw-r--r--devel/ruby-cvs/pkg-descr7
-rw-r--r--devel/ruby-cvs/pkg-plist28
5 files changed, 87 insertions, 0 deletions
diff --git a/devel/ruby-cvs/Makefile b/devel/ruby-cvs/Makefile
new file mode 100644
index 000000000000..9a8f44a6997d
--- /dev/null
+++ b/devel/ruby-cvs/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: Ruby/CVS
+# Date created: 20 July 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cvs
+PORTVERSION= 0.1
+CATEGORIES= devel ruby
+MASTER_SITES= http://cvs.m17n.org/cgi-bin/viewcvs/ruby-${PORTNAME}/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}\?tarball=1\&only_with_tag=ruby-${PORTNAME}-${PORTVERSION:S/./_/g}\&cvsroot=ruby\&
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+# optional, but strongly suggested
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/flex.so:${PORTSDIR}/devel/ruby-flex_rb
+
+USE_RUBY= yes
+.if !defined(NOPORTDOCS)
+USE_RUBY_RD= yes
+.endif
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/viztree ${WRKSRC}/reviz/reviz
+
+WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
+
+DOCS= README TODO cvs.html tempdir.html
+
+do-build:
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC} && ${RUBY_RD} lib/cvs.rb > cvs.html
+ cd ${WRKSRC} && ${RUBY_RD} lib/cvs/tempdir.rb > tempdir.html
+.endif
+
+do-install:
+ ${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/reviz
+ ${INSTALL_DATA} ${WRKSRC}/viztree ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/reviz/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/reviz/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-cvs/distinfo b/devel/ruby-cvs/distinfo
new file mode 100644
index 000000000000..59c37ef64e7d
--- /dev/null
+++ b/devel/ruby-cvs/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-cvs-0.1.tar.gz?tarball=1&only_with_tag=ruby-cvs-0_1&cvsroot=ruby&.tar.gz) = 975883a2b739c0e218d681f84564b814
diff --git a/devel/ruby-cvs/pkg-comment b/devel/ruby-cvs/pkg-comment
new file mode 100644
index 000000000000..5851249cdf22
--- /dev/null
+++ b/devel/ruby-cvs/pkg-comment
@@ -0,0 +1 @@
+A Ruby library to provide a high level interface to a CVS repository
diff --git a/devel/ruby-cvs/pkg-descr b/devel/ruby-cvs/pkg-descr
new file mode 100644
index 000000000000..a05f71aafad4
--- /dev/null
+++ b/devel/ruby-cvs/pkg-descr
@@ -0,0 +1,7 @@
+Ruby/CVS provides a high level interface to a CVS repository.
+
+It contains examples: a ViewCVS/CVSweb like CGI script and a revision
+tree visualizer.
+
+Author: Tanaka Akira <akr@m17n.org>
+WWW: http://cvs.m17n.org/~akr/ruby-cvs/
diff --git a/devel/ruby-cvs/pkg-plist b/devel/ruby-cvs/pkg-plist
new file mode 100644
index 000000000000..f3abc87810fc
--- /dev/null
+++ b/devel/ruby-cvs/pkg-plist
@@ -0,0 +1,28 @@
+%%RUBY_SITELIBDIR%%/cvs.rb
+%%RUBY_SITELIBDIR%%/cvs/cache.rb
+%%RUBY_SITELIBDIR%%/cvs/flex.rb
+%%RUBY_SITELIBDIR%%/cvs/local.rb
+%%RUBY_SITELIBDIR%%/cvs/parser.rb
+%%RUBY_SITELIBDIR%%/cvs/rcs.rb
+%%RUBY_SITELIBDIR%%/cvs/remote.rb
+%%RUBY_SITELIBDIR%%/cvs/revision.rb
+%%RUBY_SITELIBDIR%%/cvs/tempdir.rb
+@dirrm %%RUBY_SITELIBDIR%%/cvs
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/viztree
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/list_repositories.rsp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/log.rsp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/reviz
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/reviz-conf.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/rsp.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/view_annotate.rsp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/view_checkout.rsp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/view_diff.rsp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/view_directory.rsp
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cvs/reviz/view_log.rsp
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/cvs/reviz
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/cvs
+%%PORTDOCS%%%%RUBY_DOCDIR%%/cvs/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/cvs/TODO
+%%PORTDOCS%%%%RUBY_DOCDIR%%/cvs/cvs.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/cvs/tempdir.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/cvs