error: com.amd.aparapi.jni/build.xml:458: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead Approved-by: no maintainer
34 lines
1022 B
Makefile
34 lines
1022 B
Makefile
PORTNAME= aparapi
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 4
|
|
DISTVERSIONSUFFIX= -SNAPSHOT
|
|
CATEGORIES= java lang
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Open source API for expressing data parallel workflows in Java
|
|
WWW= https://github.com/aparapi/aparapi
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
|
|
|
DEPRECATED= no maintainer, no users in the ports tree, java 8 only, last upstream commit was 10 years ago
|
|
EXPIRATION_DATE= 2026-06-15
|
|
|
|
BUILD_DEPENDS= opencl>=0:devel/opencl
|
|
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
|
|
RUN_DEPENDS= opencl>=0:devel/opencl
|
|
|
|
USES= dos2unix java:ant,run
|
|
USE_GITHUB= yes
|
|
JAVA_VERSION= 8 # com.amd.aparapi.jni/build.xml:458: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead
|
|
|
|
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
|
|
|
|
ALL_TARGET= dist
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/dist_freebsd && ${INSTALL_DATA} aparapi.jar ${STAGEDIR}${JAVAJARDIR})
|
|
(cd ${WRKSRC}/dist_freebsd && ${INSTALL_LIB} libaparapi.so ${STAGEDIR}${PREFIX}/lib)
|
|
|
|
.include <bsd.port.mk>
|