blob: 50b6f2bc1476c57f2484b9e30fb11492ed0c5cc3 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
PORTNAME= lepton-eda
PORTVERSION= 1.9.18
PORTREVISION= 4
CATEGORIES= cad
MASTER_SITES= https://github.com/lepton-eda/lepton-eda/releases/download/${PORTVERSION}-20220529/
MAINTAINER= graahnul.grom@gmail.com
COMMENT= Lepton Electronic Design Automation
WWW= https://github.com/lepton-eda/lepton-eda
LICENSE= GPLv2+
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libffi.so:devel/libffi \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libfribidi.so:converters/fribidi \
libGLdispatch.so:graphics/libglvnd \
libgmp.so:math/gmp \
libgraphite2.so:graphics/graphite2 \
libgtkextra-x11-3.0.so:x11-toolkits/gtkextra \
libharfbuzz.so:print/harfbuzz \
libltdl.so:devel/libltdl \
libpcre.so:devel/pcre \
libpng.so:graphics/png \
libstroke.so:devel/libstroke \
libunistring.so:devel/libunistring
USES= desktop-file-utils gettext-tools gnome groff:build \
guile:2.2,3.0,conflicts iconv:wchar_t libtool localbase \
makeinfo pathfix perl5 pkgconfig shared-mime-info shebangfix \
xorg
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
xi xinerama xrandr xrender
USE_GNOME= cairo gdkpixbuf2 gtk20
USE_GL= egl gl
USE_LDCONFIG= yes
SHEBANG_FILES= utils/pcb_backannotate/lepton-pcb_backannotate \
utils/refdes_renum/lepton-refdes_renum \
utils/symfix/lepton-symfix
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --enable-guild
INSTALL_TARGET= install-strip
INFO= lepton-scheme lepton-manual
PORTEXAMPLES= examples/*
OPTIONS_DEFINE= DOCS EXAMPLES NLS
OPTIONS_SUB= yes
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
post-patch:
${REINPLACE_CMD} -e \
's,\$$(docdir)/examples,\$$(datadir)/examples/lepton-eda,' \
${WRKSRC}/examples/Makefile.in \
${WRKSRC}/examples/RF_Amp/Makefile.in \
${WRKSRC}/examples/TwoStageAmp/Makefile.in \
${WRKSRC}/examples/gTAG/Makefile.in \
${WRKSRC}/examples/lightning_detector/Makefile.in
.include <bsd.port.mk>
|