c03e6f5e90
Builds fine with modern JDK. Dependency math/scilab uses openjdk8 so this needs to generate Java 8 compatible class files. NB: I think upstream moved here: https://gitlab.com/scilab/forge/flexdock NB2: Remove java:run as it is a library. The final application will decide what JDK to run with, so no need to install multiple JDKs. Approved-by: no maintainer
32 lines
726 B
Makefile
32 lines
726 B
Makefile
PORTNAME= flexdock
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://forge.scilab.org/index.php/p/${PORTNAME}/downloads/get/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Swing windowing and docking framework
|
|
WWW= https://forge.scilab.org/index.php/p/flexdock/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= java:ant
|
|
|
|
ALL_TARGET= dist
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= ${JAVAJARDIR}/flexdock.jar
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/build/docs && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|