summaryrefslogtreecommitdiffstats
path: root/net/ruby-soap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ruby-soap/Makefile')
-rw-r--r--net/ruby-soap/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/net/ruby-soap/Makefile b/net/ruby-soap/Makefile
new file mode 100644
index 0000000..a01d8b4
--- /dev/null
+++ b/net/ruby-soap/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: SOAP4R
+# Date created: 31 March 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= soap
+PORTVERSION= 1.2.0
+CATEGORIES= net ruby
+MASTER_SITES= http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}4r-${PORTVERSION:S/./_/g}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/uri.rb:${PORTSDIR}/net/ruby-uri \
+ ${RUBY_SITELIBDIR}/http-access.rb:${PORTSDIR}/www/ruby-http-access \
+ ${RUBY_SITELIBDIR}/date3.rb:${PORTSDIR}/devel/ruby-date2
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS_EN= RELEASE_en.html rubyStyle.css
+DOCS_JA= RELEASE_ja.html
+
+post-extract:
+ ${CP} ${WRKSRC}/redist/application.rb ${WRKSRC}/lib/
+
+post-patch:
+ ${RUBY} -i -pe 'gsub /\brubyStyle.css\b/, "../\\1"' ${WRKSRC}/RELEASE_ja.html
+
+do-install:
+ ${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud