summaryrefslogtreecommitdiff
path: root/cad/horizon-eda/Makefile
blob: a39250e768063dc709ddad4e71e1a7e41c332428 (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
36
37
38
# $FreeBSD$

PORTNAME=	horizon-eda
DISTVERSIONPREFIX=	v
DISTVERSION=	1.3.0
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	EDA package for printed circuit board design

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs \
		cppzmq>0:net/cppzmq \
		glm>0:math/glm
LIB_DEPENDS=	libcurl.so:ftp/curl \
		libepoxy.so:graphics/libepoxy \
		libgit2.so:devel/libgit2 \
		libpodofo.so:graphics/podofo \
		libTKSTEP.so:cad/opencascade \
		libuuid.so:misc/e2fsprogs-libuuid \
		libzip.so:archivers/libzip \
		libzmq.so:net/libzmq4

USES=		compiler:c++17-lang gmake gnome localbase pkgconfig python:build sqlite
USE_GITHUB=	yes
GH_PROJECT=	horizon
USE_GNOME=	atkmm gdkpixbuf2 gtkmm30 librsvg2

BINARY_ALIAS=	python3=${PYTHON_CMD}

INSTALLS_ICONS=	yes

post-install:
	cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} horizon-imp horizon-eda

.include <bsd.port.mk>