summaryrefslogtreecommitdiff
path: root/devel/libsavitar/Makefile
blob: 32b34532a5e0656bdf4d27864ef4db98b64455f9 (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
# $FreeBSD$

PORTNAME=	libSavitar
DISTVERSION=	4.5.0
PORTREVISION=	4
CATEGORIES=	devel cad
DIST_SUBDIR=	Ultimaker

PATCH_SITES=   https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES=    195633cf0c5f.patch:-p1

MAINTAINER=	db@FreeBSD.org
COMMENT=	C++ implementation of 3mf loading/python bindings

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libpugixml.so:textproc/pugixml

USES=		cmake compiler:c++11-lang python:3.5+ pyqt:5
USE_PYQT=	sip pysip
USE_GITHUB=	yes
GH_ACCOUNT=	Ultimaker
GH_TAGNAME=	96eba0e
USE_LDCONFIG=	yes
CFLAGS+=	"-I${LOCALBASE}/include"
LDFLAGS+=	"-L${LOCALBASE}/lib"

.include <bsd.port.mk>