mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 03:16:44 -04:00
29 lines
626 B
Makefile
29 lines
626 B
Makefile
PORTNAME= f3d
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.1.0
|
|
CATEGORIES= graphics
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Fast and minimalist 3D viewer
|
|
WWW= https://f3d-app.github.io/f3d/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/../LICENSE.md
|
|
|
|
BUILD_DEPENDS= pybind11>0:devel/pybind11
|
|
LIB_DEPENDS= libf3d.so:graphics/f3d
|
|
|
|
USES= cmake:testing compiler:c++17-lang localbase:ldflags python
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= f3d-app
|
|
|
|
WRKSRC_SUBDIR= python
|
|
|
|
CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER} \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include/f3d
|
|
|
|
.include <bsd.port.mk>
|