# Created by: arved # $FreeBSD: head/devel/soapui/Makefile 401039 2015-11-08 07:54:36Z pi $ PORTNAME= soapui PORTVERSION= 5.2.1 CATEGORIES= devel java www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ DISTNAME= SoapUI-${PORTVERSION}-linux-bin MAINTAINER= pi@FreeBSD.org COMMENT= Web service, SOA, and SOAP testing tool LICENSE= GPLv2 USES= cpe CPE_VENDOR= smartbear USE_JAVA= 1.7+ WRKSRC= ${WRKDIR}/SoapUI-${PORTVERSION} REINPLACE_ARGS= -i '' DATADIR= ${JAVASHAREDIR}/${PORTNAME} NO_BUILD= yes OPTIONS_DEFINE= DOCS EXAMPLES post-patch: ${REINPLACE_CMD} -e 's|\(SOAPUI_HOME=\).*$$|\1${DATADIR}| ; \ /-Dsoapui\.jxbrowser\.disable=true/s/^#// ; \ s|^java |exec ${JAVA} | ; /^cd $$DIRNAME/d' ${WRKSRC}/bin/*.sh .include do-install: .for dir in bin lib cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} Tutorials ${STAGEDIR}${EXAMPLESDIR} .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} . for i in README.md RELEASENOTES.txt ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ . endfor cd ${WRKSRC} && ${COPYTREE_SHARE} licenses ${STAGEDIR}${DOCSDIR} .endif .include