mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
USES=java:ant does not imply USES=java:run so we need to add the run arg seperately when we are using USES=java:ant. Not all ports require the the argument so it is better to address the ports individually instead of handling it automatically by implying run for ant. Thanks to vvd for carefully going through this. Reported by: vvd Approved by: portmgr (blanket)
29 lines
739 B
Makefile
29 lines
739 B
Makefile
PORTNAME= aparapi
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
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
|
|
|
|
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>
|