summaryrefslogtreecommitdiffstats
path: root/ftp/ruby-curl
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-31 12:13:40 +0000
committerknu <knu@FreeBSD.org>2001-03-31 12:13:40 +0000
commit0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f (patch)
treec3b7e65d35ecfef9cb24d120fcb088165f8d8cd8 /ftp/ruby-curl
parentb2d468bfde9358e0240928a20b6ed2e01e38a1be (diff)
downloadFreeBSD-ports-0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f.zip
FreeBSD-ports-0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f.tar.gz
Add ruby-curl, a Ruby interface to libcurl.
Diffstat (limited to 'ftp/ruby-curl')
-rw-r--r--ftp/ruby-curl/Makefile41
-rw-r--r--ftp/ruby-curl/distinfo1
-rw-r--r--ftp/ruby-curl/pkg-comment1
-rw-r--r--ftp/ruby-curl/pkg-descr4
-rw-r--r--ftp/ruby-curl/pkg-plist6
5 files changed, 53 insertions, 0 deletions
diff --git a/ftp/ruby-curl/Makefile b/ftp/ruby-curl/Makefile
new file mode 100644
index 0000000..e6942f2
--- /dev/null
+++ b/ftp/ruby-curl/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: Ruby/libcurl
+# Date created: 31 March 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= curl
+PORTVERSION= 0.0.1
+CATEGORIES= ftp www ruby
+MASTER_SITES= http://www.d1.dion.ne.jp/~matuyuki/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= rbCurl
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= curl.1:${PORTSDIR}/ftp/curl
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS_EN= DONE README
+EXAMPLES_EN= example.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/ftp/ruby-curl/distinfo b/ftp/ruby-curl/distinfo
new file mode 100644
index 0000000..f55cc5b
--- /dev/null
+++ b/ftp/ruby-curl/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rbCurl.tgz) = a0b1e9b620f1689326e6493abad46f6a
diff --git a/ftp/ruby-curl/pkg-comment b/ftp/ruby-curl/pkg-comment
new file mode 100644
index 0000000..9656742
--- /dev/null
+++ b/ftp/ruby-curl/pkg-comment
@@ -0,0 +1 @@
+Ruby interface to libcurl
diff --git a/ftp/ruby-curl/pkg-descr b/ftp/ruby-curl/pkg-descr
new file mode 100644
index 0000000..151b29c
--- /dev/null
+++ b/ftp/ruby-curl/pkg-descr
@@ -0,0 +1,4 @@
+Ruby/libcurl is a Ruby interface to libcurl.
+
+Author: Hirotaka Matsuyuki <h-maty@h6.dion.ne.jp>
+WWW: http://www.d1.dion.ne.jp/~matuyuki/ruby.html
diff --git a/ftp/ruby-curl/pkg-plist b/ftp/ruby-curl/pkg-plist
new file mode 100644
index 0000000..66f57d0
--- /dev/null
+++ b/ftp/ruby-curl/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITEARCHLIBDIR%%/curl.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curl/example.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/curl
+%%PORTDOCS%%%%RUBY_DOCDIR%%/curl/DONE
+%%PORTDOCS%%%%RUBY_DOCDIR%%/curl/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/curl
OpenPOWER on IntegriCloud