summaryrefslogtreecommitdiff
path: root/net/ruby-xmlrpc4r/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ruby-xmlrpc4r/Makefile')
-rw-r--r--net/ruby-xmlrpc4r/Makefile86
1 files changed, 15 insertions, 71 deletions
diff --git a/net/ruby-xmlrpc4r/Makefile b/net/ruby-xmlrpc4r/Makefile
index 4968e98ba63..6ae7a8f3b7d 100644
--- a/net/ruby-xmlrpc4r/Makefile
+++ b/net/ruby-xmlrpc4r/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.6 2004/11/28 04:18:24 taca Exp $
#
-DISTNAME= xmlrpc4r-1_7_9
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME:S/_/./g}
+DISTNAME= xmlrpc4r-1_7_16
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/_/./g}
CATEGORIES= net ruby
MASTER_SITES= http://www.fantasy-coders.de/ruby/xmlrpc4r/
@@ -10,77 +10,21 @@ MAINTAINER= neumann@s-direktnet.de
HOMEPAGE= http://www.fantasy-coders.de/ruby/xmlrpc4r/
COMMENT= Implementation of the XML-RPC protocol for Ruby
-DEPENDS+= ${RUBY_PKGNAMEPREFIX}nqxml>=1.1.1:../../textproc/ruby-nqxml
-DIST_SUBDIR= ruby
-USE_RUBY= yes
-NO_BUILD= yes
+USE_RUBY_INSTALL= yes
+NO_BUILD= yes
+REPLACE_RUBY_DIRS= ${WRKSRC}/samples
+REPLACE_FILE_PAT= *.rb *.cgi *.fcgi
-DOC= README ToDo doc/rubyStyle.css doc/ChangeLog.html \
- doc/base64.html doc/client.html doc/datetime.html \
- doc/howto.html doc/index.html doc/server.html
-EXAMPLES= call.rb \
- chat/client.rb chat/client.rb.tk chat/server.rb \
- introspection/client.rb introspection/server.rb \
- marshallable/client.rb marshallable/person.rb \
- marshallable/server.rb \
- monitor/monitor.rb \
- multicall.rb perf_async.rb \
- raa/raa.rb raa/raa_fox.rb raa/raa_test.rb raa/raa_tk.rb \
- raa/responder.rb \
- sandstorm/active.rb \
- tcptunnel/README \
- validator/validator1.rb \
- webrick/client.rb webrick/server.rb \
- wwwsrv/srv.conf wwwsrv/srv.rb \
- xml.cgi xml.fcgi xml2.cgi
-TESTS= bench_parser.rb \
- files/bug_bool.expected files/bug_bool.xml \
- files/bug_covert.expected files/bug_covert.xml \
- files/fault.xml files/value.expected files/value.xml \
- files/xml1.expected files/xml1.xml \
- test_datetime.rb test_features.rb \
- test_marshal.rb test_parser.rb
-REPLACE_RUBY= redist/TCPSocketPipe.rb redist/dump.rb \
- samples/call.rb \
- samples/chat/client.rb samples/chat/client.rb.tk \
- samples/chat/server.rb \
- samples/introspection/client.rb \
- samples/introspection/server.rb \
- samples/marshallable/client.rb samples/marshallable/server.rb \
- samples/monitor/monitor.rb \
- samples/perf_async.rb \
- samples/raa/raa.rb samples/raa/raa_test.rb \
- samples/raa/raa_tk.rb \
- samples/validator/validator1.rb \
- samples/xml.cgi samples/xml.fcgi samples/xml2.cgi \
- test/bench_parser.rb test/test_datetime.rb \
- test/test_features.rb test/test_marshal.rb test/test_parser.rb
-
-do-install:
- cd ${WRKSRC}; ${RUBY} install.rb
+DEPENDS+= ${RUBY_PKGPREFIX}-xmlparser>=0.6.8:../../textproc/ruby-xmlparser
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlrpc
-.for f in ${DOC}
- ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/xmlrpc
-.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/chat
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/introspection
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/marshallable
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/monitor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/raa
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/sandstorm
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/tcptunnel
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/validator
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/webrick
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/wwwsrv
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/samples/$f ${RUBY_EXAMPLESDIR}/xmlrpc/$f
-.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc/test/files
-.for f in ${TESTS}
- ${INSTALL_DATA} ${WRKSRC}/test/$f ${RUBY_EXAMPLESDIR}/xmlrpc/test/$f
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.rd ${RUBY_DOCDIR}/xmlrpc
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlrpc
+ ${CP} -r ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/xmlrpc
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"