Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 13:19:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415443 - head/devel/soapui
Message-ID:  <201605181319.u4IDJDUa083786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed May 18 13:19:13 2016
New Revision: 415443
URL: https://svnweb.freebsd.org/changeset/ports/415443

Log:
  - Simplify MASTER_SITES
  - Add NO_ARCH
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/devel/soapui/Makefile

Modified: head/devel/soapui/Makefile
==============================================================================
--- head/devel/soapui/Makefile	Wed May 18 13:18:58 2016	(r415442)
+++ head/devel/soapui/Makefile	Wed May 18 13:19:13 2016	(r415443)
@@ -4,7 +4,7 @@
 PORTNAME=	soapui
 PORTVERSION=	5.2.1
 CATEGORIES=	devel java www
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
+MASTER_SITES=	SF
 DISTNAME=	SoapUI-${PORTVERSION}-linux-bin
 
 MAINTAINER=	pi@FreeBSD.org
@@ -19,6 +19,7 @@ WRKSRC=		${WRKDIR}/SoapUI-${PORTVERSION}
 REINPLACE_ARGS=	-i ''
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
@@ -27,23 +28,21 @@ post-patch:
 		/-Dsoapui\.jxbrowser\.disable=true/s/^#// ; \
 		s|^java |exec ${JAVA} | ; /^cd $$DIRNAME/d' ${WRKSRC}/bin/*.sh
 
-.include <bsd.port.options.mk>
-
 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}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC} && ${COPYTREE_SHARE} Tutorials ${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.	for i in README.md RELEASENOTES.txt
-		${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
-.	endfor
+.for i in README.md RELEASENOTES.txt
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
+.endfor
 	cd ${WRKSRC} && ${COPYTREE_SHARE} licenses ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605181319.u4IDJDUa083786>