aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-26 12:27:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-26 12:27:30 +0000
commitc39a541c39f1d3d53aa689b7e68304f0ef24fa19 (patch)
tree0055d6bf9bb29b84a93a60a1a2814f0ce5581076 /archivers
parentbdb2e0a933936988defd28787325d796df45914f (diff)
downloadports-c39a541c39f1d3d53aa689b7e68304f0ef24fa19.tar.gz
ports-c39a541c39f1d3d53aa689b7e68304f0ef24fa19.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/ruby-zip/Makefile42
-rw-r--r--archivers/ruby-zip/distinfo1
-rw-r--r--archivers/ruby-zip/pkg-comment1
-rw-r--r--archivers/ruby-zip/pkg-descr4
-rw-r--r--archivers/ruby-zip/pkg-plist8
6 files changed, 57 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index a8516049ee1a..a74ce616b95d 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -37,6 +37,7 @@
SUBDIR += rar
SUBDIR += rpm
SUBDIR += rpm2cpio
+ SUBDIR += ruby-zip
SUBDIR += ruby-zlib
SUBDIR += sectar
SUBDIR += stuffit
diff --git a/archivers/ruby-zip/Makefile b/archivers/ruby-zip/Makefile
new file mode 100644
index 000000000000..46b76adb2510
--- /dev/null
+++ b/archivers/ruby-zip/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: rubyzip
+# Date created: 26 January 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= zip
+PORTVERSION= 0.3.1
+CATEGORIES= archivers ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ruby${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/zlib.so:${PORTSDIR}/archivers/ruby-zlib
+
+USE_RUBY= yes
+
+WRKSRC= ${WRKDIR}/ruby${PORTNAME}
+NO_BUILD= yes
+
+DOCS= ChangeLog NEWS README.txt
+EXAMPLES= example.rb NEWS # NEWS is used as test data
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/zip.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/ruby-zip/distinfo b/archivers/ruby-zip/distinfo
new file mode 100644
index 000000000000..d52e6d199c88
--- /dev/null
+++ b/archivers/ruby-zip/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rubyzip-0.3.1.tar.gz) = 27b780d8a37c3245f42cee4c1f6c4392
diff --git a/archivers/ruby-zip/pkg-comment b/archivers/ruby-zip/pkg-comment
new file mode 100644
index 000000000000..27df2f5edb3c
--- /dev/null
+++ b/archivers/ruby-zip/pkg-comment
@@ -0,0 +1 @@
+A Ruby module for reading and writing zip files
diff --git a/archivers/ruby-zip/pkg-descr b/archivers/ruby-zip/pkg-descr
new file mode 100644
index 000000000000..6b7aa6f04cd7
--- /dev/null
+++ b/archivers/ruby-zip/pkg-descr
@@ -0,0 +1,4 @@
+This is a Ruby module or reading and writing zip files.
+
+Author: Thomas Sondergaard <thomass@deltadata.dk>
+WWW: http://rubyzip.sourceforge.net/
diff --git a/archivers/ruby-zip/pkg-plist b/archivers/ruby-zip/pkg-plist
new file mode 100644
index 000000000000..1985ada5e7cf
--- /dev/null
+++ b/archivers/ruby-zip/pkg-plist
@@ -0,0 +1,8 @@
+%%RUBY_SITELIBDIR%%/zip.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/zip/NEWS
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/zip/example.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/zip
+%%PORTDOCS%%%%RUBY_DOCDIR%%/zip/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/zip/NEWS
+%%PORTDOCS%%%%RUBY_DOCDIR%%/zip/README.txt
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/zip