summaryrefslogtreecommitdiff
path: root/net/ruby-xmlrpc4r/Makefile
blob: d323c2bccc7ae9ee0f0edcf5d5f7431f4ae47462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# $NetBSD: Makefile,v 1.3 2002/12/23 16:24:59 cjep Exp $
#

DISTNAME=	xmlrpc4r-1_7_9
PKGNAME=	${RUBY_PKGNAMEPREFIX}${DISTNAME:S/_/./g}
CATEGORIES=	net
MASTER_SITES=	http://www.fantasy-coders.de/ruby/xmlrpc4r/

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

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

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

.include "../../lang/ruby-base/Makefile.common"
.include "../../mk/bsd.pkg.mk"