mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
PORTNAME= scalatest
|
|
PORTVERSION= 1.6.1
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://www.artima.com/downloadScalaTest/ \
|
|
http://www.scalatest.org/releases/
|
|
|
|
MAINTAINER= mitsururike@gmail.com
|
|
COMMENT= Regression testing utility for use with the Scala Language
|
|
WWW= https://www.scalatest.org/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= scala>=2.9.0:lang/scala
|
|
|
|
USES= java zip
|
|
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= LICENSE NOTICE README.txt doc
|
|
|
|
SCALA_HOME= share/scala
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${SCALA_HOME}/lib
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/scalatest-${PORTVERSION}.jar ${STAGEDIR}${PREFIX}/${SCALA_HOME}/lib/scalatest.jar
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/scalatest-${PORTVERSION}-tests.jar ${STAGEDIR}${PREFIX}/${SCALA_HOME}/lib/scalatest-tests.jar
|
|
cd ${INSTALL_WRKSRC}/src/examples \
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/\{} \; \
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${EXAMPLESDIR}/\{} \;
|
|
cd ${INSTALL_WRKSRC} \
|
|
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
|
|
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
|
|
|
|
.include <bsd.port.mk>
|