aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-31 12:13:40 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-31 12:13:40 +0000
commit80fdc440650a550bd98b765b8d95b532e24ad689 (patch)
tree00d5507fcaf5fdcd9d59625accb93b99990159f2 /ftp
parent73744dc786f33e0a8f251015f9447151f8f64316 (diff)
downloadports-80fdc440650a550bd98b765b8d95b532e24ad689.tar.gz
ports-80fdc440650a550bd98b765b8d95b532e24ad689.zip
Notes
Diffstat (limited to 'ftp')
-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