summaryrefslogtreecommitdiff
path: root/cad/solvespace/Makefile
blob: fdcfab04317e2e2735d046abee7ad4c64455d45c (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
34
35

PORTNAME=	solvespace
PORTVERSION=	2.3
DISTVERSIONPREFIX=	v
PORTREVISION=	5
CATEGORIES=	cad

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Parametric 2d/3d CAD

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING.txt

LIB_DEPENDS=	libpng.so:graphics/png \
		libjson-c.so:devel/json-c \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libgtkmm-2.4.so:x11-toolkits/gtkmm24

USE_GITHUB=	yes
GH_PROJECT=	libdxfrw:libdxfrw
GH_TAGNAME=	8f95895:libdxfrw
GH_SUBDIR=	extlib/libdxfrw:libdxfrw

USES=		cmake compiler:c++11-lang gl gnome pkgconfig xorg
USE_GL=		gl glu glew
USE_GNOME=	atkmm gtk20 pangomm
USE_XORG=	x11
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes

post-patch:
	${REINPLACE_CMD} -e '/-stdlib=libc++/d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>