blob: 1da05dafc3f707d3b9b9f901ab12c5355aabe2ae (
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
39
40
41
42
43
44
45
|
PORTNAME= horizon-eda
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
PORTREVISION= 1
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 \
libharfbuzz.so:print/harfbuzz \
libpng16.so:graphics/png \
libpodofo.so:graphics/podofo \
libTKSTEP.so:cad/opencascade \
libuuid.so:misc/e2fsprogs-libuuid \
libzip.so:archivers/libzip \
libzmq.so:net/libzmq4
USES= gmake gnome localbase pkgconfig python:build sqlite # compiler:c++17-lang
USE_GITHUB= yes
GH_PROJECT= horizon
USE_GNOME= atkmm gdkpixbuf2 gtkmm30 librsvg2
MAKE_ARGS= DEBUGFLAGS= OPTIMIZE=
BINARY_ALIAS= python3=${PYTHON_CMD}
LLVM_VER= 10 # workaround for bug#253551
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
CPP= clang-cpp${LLVM_VER}
CC= clang${LLVM_VER}
CXX= clang++${LLVM_VER}
post-install: # https://github.com/horizon-eda/horizon/issues/558
cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} horizon-eda
.include <bsd.port.mk>
|