2013-03-02 06:54:37 +01:00
|
|
|
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1998-12-06 15:11:53 +01:00
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= geda
|
2013-11-02 15:28:26 +01:00
|
|
|
PORTVERSION= 1.8.2
|
2009-02-21 12:43:23 +01:00
|
|
|
PORTEPOCH= 1
|
1998-12-06 15:11:53 +01:00
|
|
|
CATEGORIES= cad
|
2013-03-02 06:54:37 +01:00
|
|
|
MASTER_SITES= http://ftp.geda-project.org/geda-gaf/stable/%SUBDIR%/
|
2012-06-17 22:09:26 +02:00
|
|
|
MASTER_SITE_SUBDIR= v${PORTVERSION:R}/${PORTVERSION}
|
|
|
|
DISTNAME= ${PORTNAME}-gaf-${PORTVERSION}
|
1998-12-06 15:11:53 +01:00
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-02 15:28:26 +01:00
|
|
|
COMMENT= GPL Electronic Design Automation tools
|
1998-12-06 15:11:53 +01:00
|
|
|
|
2012-06-17 22:09:26 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
1998-12-06 15:11:53 +01:00
|
|
|
|
2013-11-02 15:28:26 +01:00
|
|
|
LIB_DEPENDS= libstroke.so:${PORTSDIR}/devel/libstroke \
|
|
|
|
libguile.so:${PORTSDIR}/lang/guile
|
2012-06-17 22:09:26 +02:00
|
|
|
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
|
1998-12-06 15:11:53 +01:00
|
|
|
|
2012-06-17 22:09:26 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-11-02 15:28:26 +01:00
|
|
|
USES= desktop-file-utils gettext gmake pathfix perl5 pkgconfig \
|
|
|
|
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
|
2013-08-03 15:44:00 +02:00
|
|
|
USE_PERL5= run
|
2012-06-17 22:09:26 +02:00
|
|
|
USE_PYTHON= run
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
CONFIGURE_ARGS= --with-libstroke=${LOCALBASE}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-gaf
|
|
|
|
DATADIR= ${PREFIX}/share/gEDA
|
|
|
|
|
2013-03-02 06:54:37 +01:00
|
|
|
INFO= geda-scheme
|
2012-06-17 22:09:26 +02:00
|
|
|
|
|
|
|
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
|
2006-07-16 05:42:23 +02:00
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-07-16 05:42:23 +02:00
|
|
|
|
2012-06-17 22:09:26 +02:00
|
|
|
post-patch:
|
|
|
|
.for dir in gattrib gschem libgeda
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/-x/s|INSTALL_DATA|INSTALL|' ${WRKSRC}/${dir}/data/Makefile.in
|
|
|
|
.endfor
|
|
|
|
@${REINPLACE_CMD} -e \
|
2013-03-02 06:54:37 +01:00
|
|
|
'/OS_LINUX=/s|no|yes|' ${WRKSRC}/configure
|
2000-01-07 21:07:56 +01:00
|
|
|
|
1998-12-06 15:11:53 +01:00
|
|
|
.include <bsd.port.mk>
|