2001-03-31 12:04:26 +00:00
|
|
|
# New ports collection makefile for: SOAP4R
|
|
|
|
# Date created: 31 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= soap
|
2003-01-18 13:42:05 +00:00
|
|
|
PORTVERSION= 1.4.8.1
|
2001-03-31 12:04:26 +00:00
|
|
|
CATEGORIES= net ruby
|
2003-03-30 15:50:58 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
|
|
MASTER_SITE_SUBDIR= contrib
|
2001-03-31 12:04:26 +00:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PORTNAME}4r-${PORTVERSION:S/./_/g}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:42:05 +00:00
|
|
|
COMMENT= Ruby library which implements SOAP 1.1
|
2001-03-31 12:04:26 +00:00
|
|
|
|
2002-04-12 19:04:43 +00:00
|
|
|
RUN_DEPENDS= ${RUBY_SITELIBDIR}/application.rb:${PORTSDIR}/sysutils/ruby-devel-logger \
|
2001-08-12 06:42:27 +00:00
|
|
|
${RUBY_SITELIBDIR}/http-access2.rb:${PORTSDIR}/www/ruby-http-access \
|
|
|
|
${RUBY_SITELIBDIR}/GServer.rb:${PORTSDIR}/net/ruby-gserver \
|
2002-09-19 19:11:30 +00:00
|
|
|
${RUBY_SITELIBDIR}/rexml/rexml.rb:${PORTSDIR}/textproc/ruby-rexml \
|
2002-06-03 09:55:04 +00:00
|
|
|
${DEPEND_RUBY_DATE2}
|
2001-03-31 12:04:26 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2002-06-03 09:55:04 +00:00
|
|
|
DOCS_EN= RELEASE_en.html ToDo rubyStyle.css
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${RUBY_VER} < 1.7
|
|
|
|
DEPEND_RUBY_DATE2= ${RUBY_SITELIBDIR}/date.rb:${PORTSDIR}/devel/ruby-date2
|
|
|
|
.endif
|
2001-03-31 12:04:26 +00:00
|
|
|
|
2001-08-12 06:42:27 +00:00
|
|
|
post-extract:
|
2002-09-19 19:11:30 +00:00
|
|
|
${RM} -f ${WRKSRC}/redist/GServer.rb
|
2001-08-12 06:42:27 +00:00
|
|
|
|
2001-03-31 12:04:26 +00:00
|
|
|
do-install:
|
2002-09-19 19:11:30 +00:00
|
|
|
cd ${WRKSRC}; ${RUBY} install.rb
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/wsdl2ruby.rb ${PREFIX}/bin/
|
2001-03-31 12:04:26 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/sample/* ${WRKSRC}/test ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2001-03-31 12:04:26 +00:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 21:38:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-03-31 12:04:26 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2002-06-03 09:55:04 +00:00
|
|
|
.include <bsd.port.post.mk>
|