diff options
author | minskim <minskim@pkgsrc.org> | 2005-04-02 22:40:19 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-04-02 22:40:19 +0000 |
commit | 8c52f8897c4b49a5c45bd8bbefc4b016c6c34ea9 (patch) | |
tree | a84e110bb184fc9bd5866b54233981a8db0e3d93 /textproc | |
parent | aa405203151184d970aa26592f2974b101b4da47 (diff) | |
download | pkgsrc-8c52f8897c4b49a5c45bd8bbefc4b016c6c34ea9.tar.gz |
Import ruby-sync from pkgsrc-wip. Packaged by Rich Davies.
Syck is an extension for reading and writing YAML swiftly in popular
scripting languages. As Syck loads the YAML, it stores the data
directly in your language's symbol table. This means speed. This
means power. This means Do not disturb Syck because it is so focused
on the task at hand that it will slay you mortally if you get in its
way.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-syck/DESCR | 6 | ||||
-rw-r--r-- | textproc/ruby-syck/Makefile | 38 | ||||
-rw-r--r-- | textproc/ruby-syck/PLIST | 32 | ||||
-rw-r--r-- | textproc/ruby-syck/distinfo | 4 |
4 files changed, 80 insertions, 0 deletions
diff --git a/textproc/ruby-syck/DESCR b/textproc/ruby-syck/DESCR new file mode 100644 index 00000000000..e4a32c000c8 --- /dev/null +++ b/textproc/ruby-syck/DESCR @@ -0,0 +1,6 @@ +Syck is an extension for reading and writing YAML swiftly in popular +scripting languages. As Syck loads the YAML, it stores the data +directly in your language's symbol table. This means speed. This +means power. This means Do not disturb Syck because it is so focused +on the task at hand that it will slay you mortally if you get in its +way. diff --git a/textproc/ruby-syck/Makefile b/textproc/ruby-syck/Makefile new file mode 100644 index 00000000000..8944974eff5 --- /dev/null +++ b/textproc/ruby-syck/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/02 22:40:19 minskim Exp $ + +DISTNAME= syck-${VER} +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yaml4r/} + +MAINTAINER= rasputnik@hellooperator.net +HOMEPAGE= http://www.whytheluckystiff.net/syck/ +COMMENT= Fast YAML reader/writer for Ruby + +.include "../../lang/ruby/rubyversion.mk" +.if ${RUBY_VER} == "16" +DEPENDS+= ${RUBY_PKGPREFIX}-racc>=1.4.3:../../devel/ruby-racc +.endif + +USE_RUBY_SETUP= yes +RUBY_DIST_SUBDIR= # make it empty +RUBY_HAS_ARCHLIB= yes +RUBY_SETUP= install.rb +VER= 0.42 +WRKSRC= ${WRKDIR}/${DISTNAME}/ext/ruby + +EXAMPLES= okayNews-modules.rb okayNews-sample.rb \ + okayNews-validate.rb okayRpc-client.rb \ + okayRpc-server.rb yaml-sortHashKeys.rb +.for f in ${EXAMPLES} +REPLACE_RUBY+= samples/${f} +.endfor + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/syck +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/samples/${f} ${RUBY_EXAMPLESDIR}/syck +.endfor + +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-syck/PLIST b/textproc/ruby-syck/PLIST new file mode 100644 index 00000000000..ff827711ccb --- /dev/null +++ b/textproc/ruby-syck/PLIST @@ -0,0 +1,32 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/02 22:40:19 minskim Exp $ +${RUBY_SITEARCHLIBDIR}/syck.${RUBY_DLEXT} +${RUBY_SITELIBDIR}/okay.rb +${RUBY_SITELIBDIR}/yaml.rb +${RUBY_SITELIBDIR}/yod.rb +${RUBY_SITELIBDIR}/okay/news.rb +${RUBY_SITELIBDIR}/okay/rpc.rb +@dirrm ${RUBY_SITELIBDIR}/okay +${RUBY_SITELIBDIR}/yaml/baseemitter.rb +${RUBY_SITELIBDIR}/yaml/basenode.rb +${RUBY_SITELIBDIR}/yaml/constants.rb +${RUBY_SITELIBDIR}/yaml/dbm.rb +${RUBY_SITELIBDIR}/yaml/emitter.rb +${RUBY_SITELIBDIR}/yaml/encoding.rb +${RUBY_SITELIBDIR}/yaml/error.rb +${RUBY_SITELIBDIR}/yaml/loader.rb +${RUBY_SITELIBDIR}/yaml/rubytypes.rb +${RUBY_SITELIBDIR}/yaml/store.rb +${RUBY_SITELIBDIR}/yaml/stream.rb +${RUBY_SITELIBDIR}/yaml/stringio.rb +${RUBY_SITELIBDIR}/yaml/syck.rb +${RUBY_SITELIBDIR}/yaml/types.rb +${RUBY_SITELIBDIR}/yaml/yamlnode.rb +${RUBY_SITELIBDIR}/yaml/ypath.rb +@dirrm ${RUBY_SITELIBDIR}/yaml +${RUBY_EXAMPLESDIR}/syck/okayNews-modules.rb +${RUBY_EXAMPLESDIR}/syck/okayNews-sample.rb +${RUBY_EXAMPLESDIR}/syck/okayNews-validate.rb +${RUBY_EXAMPLESDIR}/syck/okayRpc-client.rb +${RUBY_EXAMPLESDIR}/syck/okayRpc-server.rb +${RUBY_EXAMPLESDIR}/syck/yaml-sortHashKeys.rb +@dirrm ${RUBY_EXAMPLESDIR}/syck diff --git a/textproc/ruby-syck/distinfo b/textproc/ruby-syck/distinfo new file mode 100644 index 00000000000..e20bfc6e259 --- /dev/null +++ b/textproc/ruby-syck/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/02 22:40:19 minskim Exp $ + +SHA1 (syck-0.42.tar.gz) = a7018f33658c5c368466c19892b168ede2b7e723 +Size (syck-0.42.tar.gz) = 327761 bytes |