summaryrefslogtreecommitdiff
path: root/graphics/f3d/Makefile
blob: 5222b4e220074188bb013f6e678466717d79945f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

PORTNAME=	f3d
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.0
CATEGORIES=	graphics
MASTER_SITES=	https://gitlab.kitware.com/f3d/f3d/-/archive/${DISTVERSIONPREFIX}${DISTVERSION}/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Fast and minimalist 3D viewer

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libvtkCommonMisc-9.0.so:math/vtk9

USES=		cmake compiler:c++11-lang gl tar:bzip2 xorg
USE_GL=		gl glu
USE_XORG=	ice sm x11 xt

PLIST_FILES=	bin/f3d \
		share/applications/f3d.desktop \
		share/bash-completion/completions/f3d \
		share/fish/vendor_completions.d/f3d.fish \
		share/icons/hicolor/32x32/apps/f3d.png \
		share/icons/hicolor/48x48/apps/f3d.png \
		share/icons/hicolor/64x64/apps/f3d.png \
		share/icons/hicolor/scalable/apps/f3d.svg \
		share/zsh/site-functions/_f3d

post-install:
	@cd ${STAGEDIR}${PREFIX} && ${RM} LICENSE README.md

.include <bsd.port.mk>