From eb3d004d4d51f509f022fbb8af46273fa0751981 Mon Sep 17 00:00:00 2001 From: knu <knu@FreeBSD.org> Date: Sat, 26 Jan 2002 12:27:30 +0000 Subject: Add ruby-zip, a Ruby module for reading and writing zip files. --- archivers/Makefile | 1 + archivers/ruby-zip/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ archivers/ruby-zip/distinfo | 1 + archivers/ruby-zip/pkg-comment | 1 + archivers/ruby-zip/pkg-descr | 4 ++++ archivers/ruby-zip/pkg-plist | 8 ++++++++ 6 files changed, 57 insertions(+) create mode 100644 archivers/ruby-zip/Makefile create mode 100644 archivers/ruby-zip/distinfo create mode 100644 archivers/ruby-zip/pkg-comment create mode 100644 archivers/ruby-zip/pkg-descr create mode 100644 archivers/ruby-zip/pkg-plist (limited to 'archivers') diff --git a/archivers/Makefile b/archivers/Makefile index a851604..a74ce61 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 0000000..46b76ad --- /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 0000000..d52e6d1 --- /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 0000000..27df2f5 --- /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 0000000..6b7aa6f --- /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 0000000..1985ada --- /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 -- cgit v1.1