ports/86213: new port: net/ruby-zoom

mitsuru at riken.jp mitsuru at riken.jp
Fri Sep 16 15:30:20 UTC 2005


>Number:         86213
>Category:       ports
>Synopsis:       new port: net/ruby-zoom
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 16 15:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 5.4-RELEASE
>Organization:
>Environment:
System: FreeBSD 5.4-RELEASE


	
>Description:
	new port: net/ruby-zoom
	This port is required by Alexandria (deskutils/alexandria).
>How-To-Repeat:
	
>Fix:



# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ruby-zoom
#	ruby-zoom/Makefile
#	ruby-zoom/distinfo
#	ruby-zoom/pkg-descr
#	ruby-zoom/files
#	ruby-zoom/files/patch-aa
#	ruby-zoom/pkg-plist
#
echo c - ruby-zoom
mkdir -p ruby-zoom > /dev/null 2>&1
echo x - ruby-zoom/Makefile
sed 's/^X//' >ruby-zoom/Makefile << 'END-of-ruby-zoom/Makefile'
X# New ports collection makefile for:	Ruby-zoom
X# Date created:		16 September 2005
X# Whom:			Mitsuru YOSHIDA <mitsuru at riken.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zoom
XPORTVERSION=	0.2
XCATEGORIES=	net ruby
XMASTER_SITES=	http://rubyforge.org/frs/download.php/5601/
XPKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
XDIST_SUBDIR=	ruby
X
XMAINTAINER=	mitsuru at riken.jp
XCOMMENT=	A Ruby binding to the Z39.50 Object-Orientation Model (ZOOM)
X
XLIB_DEPENDS=	yaz.2:${PORTSDIR}/net/yaz
X
XUSE_RUBY=	yes
XUSE_RUBY_EXTCONF=	yes
X
XWRKSRC=		${WRKDIR}/ruby-${PORTNAME}-${PORTVERSION}.0
X
XDOCS=		ChangeLog README doc/ascii/api.txt doc/xhtml/*
X
XRUBY_REQUIRE=	Ruby > 180
X
X.include <bsd.port.pre.mk>
X
X.if !defined(RUBY_PROVIDED)
XIGNORE=		only works with Ruby 1.8.0 or later
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${RUBY_MODDOCDIR}
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
X.endfor
X	${MKDIR} ${RUBY_MODEXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
X.endif
X
X.include <bsd.port.post.mk>
END-of-ruby-zoom/Makefile
echo x - ruby-zoom/distinfo
sed 's/^X//' >ruby-zoom/distinfo << 'END-of-ruby-zoom/distinfo'
XMD5 (ruby/zoom-0.2.tar.gz) = ef85f8aa8a78666fdd46c95d91a23e7c
XSIZE (ruby/zoom-0.2.tar.gz) = 24168
END-of-ruby-zoom/distinfo
echo x - ruby-zoom/pkg-descr
sed 's/^X//' >ruby-zoom/pkg-descr << 'END-of-ruby-zoom/pkg-descr'
XRuby/ZOOM provides a Ruby binding to the Z39.50 Object-Orientation Model (ZOOM),
Xan abstract object-oriented programming interface to a subset of the services
Xspecified by the Z39.50 standard, also known as the international standard
XISO 23950.
X
XWWW: http://ruby-zoom.rubyforge.org/
END-of-ruby-zoom/pkg-descr
echo c - ruby-zoom/files
mkdir -p ruby-zoom/files > /dev/null 2>&1
echo x - ruby-zoom/files/patch-aa
sed 's/^X//' >ruby-zoom/files/patch-aa << 'END-of-ruby-zoom/files/patch-aa'
X--- extconf.rb.org	Fri Sep  2 20:18:20 2005
X+++ extconf.rb	Fri Sep  2 20:38:41 2005
X@@ -9,6 +9,6 @@
X err "Yaz ZOOM header not available" unless have_header("yaz/zoom.h")
X 
X $CFLAGS << " #{`yaz-config --cflags`} "
X-$LDFLAGS << " #{`yaz-config --libs`} "
X+$LDFLAGS << " #{`yaz-config --libs`}".chomp
X 
X create_makefile("zoom", "src")
END-of-ruby-zoom/files/patch-aa
echo x - ruby-zoom/pkg-plist
sed 's/^X//' >ruby-zoom/pkg-plist << 'END-of-ruby-zoom/pkg-plist'
X%%RUBY_SITEARCHLIBDIR%%/zoom.so
X%%RUBY_SITELIBDIR%%/marc.rb
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api.txt
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api.xml
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ch01.html
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ch02.html
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ch03.html
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ch04.html
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/docbook.css
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
X%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello.rb
X%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
X%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
END-of-ruby-zoom/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list