aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-31 20:13:40 +0800
committerknu <knu@FreeBSD.org>2001-03-31 20:13:40 +0800
commit0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f (patch)
treec3b7e65d35ecfef9cb24d120fcb088165f8d8cd8
parentb2d468bfde9358e0240928a20b6ed2e01e38a1be (diff)
downloadfreebsd-ports-gnome-0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f.tar.gz
freebsd-ports-gnome-0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f.tar.zst
freebsd-ports-gnome-0ed7f24ab0af0a94c042ad923d58aaa926e5cd7f.zip
Add ruby-curl, a Ruby interface to libcurl.
-rw-r--r--ftp/Makefile1
-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
6 files changed, 54 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 8c1a04fc1035..e592b567e789 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -33,6 +33,7 @@
SUBDIR += pavuk
SUBDIR += proftpd
SUBDIR += puf
+ SUBDIR += ruby-curl
SUBDIR += sftp
SUBDIR += spegla
SUBDIR += vsftpd
diff --git a/ftp/ruby-curl/Makefile b/ftp/ruby-curl/Makefile
new file mode 100644
index 000000000000..e6942f266a1c
--- /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 000000000000..f55cc5b227ae
--- /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 000000000000..9656742f2f94
--- /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 000000000000..151b29c62dac
--- /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 000000000000..66f57d0ae6f1
--- /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