freebsd-ports/net/ruby-soap/Makefile
Akinori MUSHA 11fd81b51a Add ruby-soap (SOAP4R), a Ruby library which implements SOAP 1.1.
Currently SOAP4R offers only SOAP-RPC specific features.
2001-03-31 12:04:26 +00:00

50 lines
1.2 KiB
Makefile

# 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>