freebsd-ports/cad/geda/Makefile
Baptiste Daroussin 56a6c38e8d Drop build dependency on GNU m4.
m4 from base is able to do the job, if properly wrapped to mimic GNU m4

Differential Revision:	https://reviews.freebsd.org/D21835
2019-10-01 14:35:23 +00:00

55 lines
1.5 KiB
Makefile

# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$
PORTNAME= geda
PORTVERSION= 1.8.2
DISTVERSIONPREFIX=gaf-
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= http://ftp.geda-project.org/${PORTNAME}-gaf/stable/v${PORTVERSION:R}/${PORTVERSION}/
MAINTAINER= hrs@FreeBSD.org
COMMENT= GPL Electronic Design Automation tools
LICENSE= GPLv2+
.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
BROKEN= ld: error: ../src/.libs/libgeda.so: undefined reference to g_input_stream_get_type
.endif
LIB_DEPENDS= libstroke.so:devel/libstroke \
libguile.so:lang/guile
RUN_DEPENDS= gawk:lang/gawk\
USES= desktop-file-utils gettext gmake libtool pathfix perl5 \
pkgconfig python:run shared-mime-info shebangfix
SHEBANG_FILES= examples/lightning_detector/bom libgeda/docs/*.dox \
utils/gxyrs/*.pl utils/scripts/* \
utils/docs/*.dox gattrib/docs/*.dox \
gschem/docs/*.dox gsymcheck/docs/*.dox \
gnetlist/docs/*.dox
USE_GNOME= gtk20
USE_PERL5= run
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libstroke=${LOCALBASE}
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-gaf
DATADIR= ${PREFIX}/share/gEDA
INFO= geda-scheme
BINARY_WRAPPERS= gm4
CONFLICTS= geda-docs-[0-9]* geda-examples-[0-9]* geda-gattrib-[0-9]* \
geda-gschem-[0-9]* geda-netlist-[0-9]* geda-symbols-[0-9]* \
geda-symcheck-[0-9]* geda-utils-[0-9]* libgeda-[0-9]*
PORTSCOUT= limitw:1,even
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>