Install GServer.rb via the ruby-gserver port instead of installing the

bundled one.
This commit is contained in:
Akinori MUSHA 2001-08-12 06:29:54 +00:00
parent 1c1687dbe6
commit c13efc6b90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46112
2 changed files with 4 additions and 3 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= xmlrpc
PORTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= net ruby
MASTER_SITES= http://www.fantasy-coders.de/ruby/xmlrpc4r/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -16,7 +17,8 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/nqxml/info.rb:${PORTSDIR}/textproc/ruby-nqxml \
${RUBY_SITELIBDIR}/TCPSocketPipe.rb:${PORTSDIR}/net/ruby-tcpsocketpipe
${RUBY_SITELIBDIR}/TCPSocketPipe.rb:${PORTSDIR}/net/ruby-tcpsocketpipe \
${RUBY_SITELIBDIR}/GServer.rb:${PORTSDIR}/net/ruby-gserver
# Alternative to ruby-nqxml:
# ${RUBY_SITELIBDIR}/xmlparser.rb:${PORTSDIR}/textproc/ruby-xmlparser
@ -30,7 +32,7 @@ post-extract:
${RM} -rf ${WRKSRC}/samples/monitor
post-patch:
${RUBY} -i -pe '$$_ = "FILES2 = %w(GServer.rb)\n" if /^FILES2\s*=/' ${WRKSRC}/install.rb
${RUBY} -i -pe '$$_ = "FILES2 = []\n" if /^FILES2\s*=/' ${WRKSRC}/install.rb
do-install:
cd ${WRKSRC} && ${RUBY} install.rb

View File

@ -1,4 +1,3 @@
%%RUBY_SITELIBDIR%%/GServer.rb
%%RUBY_SITELIBDIR%%/xmlrpc/base64.rb
%%RUBY_SITELIBDIR%%/xmlrpc/client.rb
%%RUBY_SITELIBDIR%%/xmlrpc/config.rb