mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
707c6bf295
Ports that build out of source now simply can use "USES=cmake" instead of "USES=cmake:outsource". Ports that fail to build out of source now need to specify "USES=cmake:insource". I tried to only set insource where explictely needed. PR: 232038 Exp-run by: antoine
34 lines
836 B
Makefile
34 lines
836 B
Makefile
# Created by: Johannes Dieterich <jmd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= roct
|
|
PORTVERSION= 1.9.1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= Radeon Open Compute Thunk Interface
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
LIB_DEPENDS= libpci.so:devel/libpci
|
|
|
|
USES= cmake pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= iotamudelta
|
|
GH_PROJECT= ROCT-Thunk-Interface
|
|
GH_TAGNAME= 9d1fb76
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}/${PREFIX}/include/roct
|
|
${MKDIR} ${STAGEDIR}/${PREFIX}/include/roct/linux
|
|
${INSTALL_DATA} ${WRKSRC}/include/hsakmt.h ${STAGEDIR}/${PREFIX}/include/roct/.
|
|
${INSTALL_DATA} ${WRKSRC}/include/hsakmttypes.h ${STAGEDIR}/${PREFIX}/include/roct/.
|
|
${INSTALL_DATA} ${WRKSRC}/include/linux/kfd_ioctl.h ${STAGEDIR}/${PREFIX}/include/roct/linux/.
|
|
|
|
.include <bsd.port.mk>
|