diff options
author | obache <obache> | 2011-02-25 02:12:50 +0000 |
---|---|---|
committer | obache <obache> | 2011-02-25 02:12:50 +0000 |
commit | 00761eeeaafadc790170714cde5536dab818dceb (patch) | |
tree | 161640ed0c53d57be60c74db5202aca4ba34522a | |
parent | f671a8dbd7817d06c8dc5585ac35ba6ffceb78dc (diff) | |
download | pkgsrc-00761eeeaafadc790170714cde5536dab818dceb.tar.gz |
Import ruby-escape-0.2 as textproc/ruby-escape.
escape library provides several HTML/URI/shell escaping functions for Ruby.
-rw-r--r-- | textproc/ruby-escape/DESCR | 1 | ||||
-rw-r--r-- | textproc/ruby-escape/Makefile | 20 | ||||
-rw-r--r-- | textproc/ruby-escape/PLIST | 2 | ||||
-rw-r--r-- | textproc/ruby-escape/distinfo | 6 | ||||
-rw-r--r-- | textproc/ruby-escape/patches/patch-aa | 16 |
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/ruby-escape/DESCR b/textproc/ruby-escape/DESCR new file mode 100644 index 00000000000..86ea6f05750 --- /dev/null +++ b/textproc/ruby-escape/DESCR @@ -0,0 +1 @@ +escape library provides several HTML/URI/shell escaping functions for Ruby. diff --git a/textproc/ruby-escape/Makefile b/textproc/ruby-escape/Makefile new file mode 100644 index 00000000000..38d0f3e39ea --- /dev/null +++ b/textproc/ruby-escape/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/02/25 02:12:50 obache Exp $ +# + +DISTNAME= escape-0.2 +CATEGORIES= textproc +MASTER_SITES= http://www.a-k-r.org/escape/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://www.a-k-r.org/escape/ +COMMENT= HTML/URI/shell escaping utilities for Ruby +LICENSE= modified-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # none +USE_RUBY_INSTALL= yes +NO_BUILD= yes + +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-escape/PLIST b/textproc/ruby-escape/PLIST new file mode 100644 index 00000000000..be19c4fb6d4 --- /dev/null +++ b/textproc/ruby-escape/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/25 02:12:50 obache Exp $ +${RUBY_VENDORLIB}/escape.rb diff --git a/textproc/ruby-escape/distinfo b/textproc/ruby-escape/distinfo new file mode 100644 index 00000000000..c5f8a4c2740 --- /dev/null +++ b/textproc/ruby-escape/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/02/25 02:12:50 obache Exp $ + +SHA1 (escape-0.2.tar.gz) = 6051baa5c9f8a0044bf3f0011f71eab123ba2d73 +RMD160 (escape-0.2.tar.gz) = 2590205a221a780080747508f31390b45deea121 +Size (escape-0.2.tar.gz) = 19317 bytes +SHA1 (patch-aa) = a5207b6f7e71f628355c29e39bdbdbb26b382331 diff --git a/textproc/ruby-escape/patches/patch-aa b/textproc/ruby-escape/patches/patch-aa new file mode 100644 index 00000000000..c3bd55c6ad0 --- /dev/null +++ b/textproc/ruby-escape/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2011/02/25 02:12:50 obache Exp $ + +staged installation support. + +--- install.rb.orig 2007-01-03 18:24:56.000000000 +0000 ++++ install.rb +@@ -102,6 +102,9 @@ if $opt_n + else + File.umask 022 + dir = target_directory ++ if (destdir = ENV['DESTDIR']) ++ dir = File.join(destdir, dir) ++ end + collect_target.each {|filename| + install_file filename, "#{dir}/#{filename}" + } |