2c672a4de9
While here, make sure gtk-update-icon-cache is only on run dependency where added as a dependency Enforce gtk3 to depend on gtk-update-icon-cache (previously it was inheriting the dependency)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
PORTNAME= lepton-eda
|
|
PORTVERSION= 1.9.16
|
|
CATEGORIES= cad
|
|
MASTER_SITES= https://github.com/lepton-eda/lepton-eda/releases/download/${PORTVERSION}-20210731/
|
|
|
|
MAINTAINER= graahnul.grom@gmail.com
|
|
COMMENT= Lepton Electronic Design Automation
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2 \
|
|
libgc-threaded.so:devel/boehm-gc-threaded \
|
|
libguile-2.2.so:lang/guile2 \
|
|
libpng.so:graphics/png \
|
|
libstroke.so:devel/libstroke \
|
|
libgtkextra-x11-3.0.so:x11-toolkits/gtkextra \
|
|
libharfbuzz.so:print/harfbuzz
|
|
|
|
USES= desktop-file-utils gettext-tools gnome \
|
|
groff:build libtool localbase makeinfo pathfix perl5 \
|
|
pkgconfig shared-mime-info shebangfix
|
|
USE_GNOME= cairo gtk20
|
|
USE_LDCONFIG= yes
|
|
|
|
SHEBANG_FILES= utils/pcb_backannotate/lepton-pcb_backannotate \
|
|
utils/refdes_renum/lepton-refdes_renum \
|
|
utils/symfix/lepton-symfix
|
|
|
|
GNU_CONFIGURE= yes
|
|
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>
|