pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-escape Import ruby-escape-0.2 as textpro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad86651ad636
branches:  trunk
changeset: 585700:ad86651ad636
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Feb 25 02:12:50 2011 +0000

description:
Import ruby-escape-0.2 as textproc/ruby-escape.

escape library provides several HTML/URI/shell escaping functions for Ruby.

diffstat:

 textproc/ruby-escape/DESCR            |   1 +
 textproc/ruby-escape/Makefile         |  20 ++++++++++++++++++++
 textproc/ruby-escape/PLIST            |   2 ++
 textproc/ruby-escape/distinfo         |   6 ++++++
 textproc/ruby-escape/patches/patch-aa |  16 ++++++++++++++++
 5 files changed, 45 insertions(+), 0 deletions(-)

diffs (65 lines):

diff -r eea68579b785 -r ad86651ad636 textproc/ruby-escape/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-escape/DESCR        Fri Feb 25 02:12:50 2011 +0000
@@ -0,0 +1,1 @@
+escape library provides several HTML/URI/shell escaping functions for Ruby.
diff -r eea68579b785 -r ad86651ad636 textproc/ruby-escape/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-escape/Makefile     Fri Feb 25 02:12:50 2011 +0000
@@ -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@localhost
+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 -r eea68579b785 -r ad86651ad636 textproc/ruby-escape/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-escape/PLIST        Fri Feb 25 02:12:50 2011 +0000
@@ -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 -r eea68579b785 -r ad86651ad636 textproc/ruby-escape/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-escape/distinfo     Fri Feb 25 02:12:50 2011 +0000
@@ -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 -r eea68579b785 -r ad86651ad636 textproc/ruby-escape/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-escape/patches/patch-aa     Fri Feb 25 02:12:50 2011 +0000
@@ -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}"
+   }



Home | Main Index | Thread Index | Old Index