diff options
-rw-r--r-- | ftp/Makefile | 1 | ||||
-rw-r--r-- | ftp/ruby-curl/Makefile | 41 | ||||
-rw-r--r-- | ftp/ruby-curl/distinfo | 1 | ||||
-rw-r--r-- | ftp/ruby-curl/pkg-comment | 1 | ||||
-rw-r--r-- | ftp/ruby-curl/pkg-descr | 4 | ||||
-rw-r--r-- | ftp/ruby-curl/pkg-plist | 6 |
6 files changed, 54 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile index 8c1a04f..e592b56 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 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 |