blob: 387338d698b82cc8d3fb48672ab666cb07550d00 (
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
|
# $NetBSD: Makefile,v 1.46 2009/02/09 22:56:21 joerg Exp $
#
DISTNAME= geda-utils-${PKGVERSION}
PKGREVISION= 1
CATEGORIES= cad
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.geda.seul.org/
COMMENT= Set of utilities for gEDA
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEPENDS+= geda-symbols-${PKGVERSION}{,nb[0-9]*}:../../cad/geda-symbols
CONFLICTS+= gEDA<19991011
.include "../../cad/geda/Makefile.common"
GNU_CONFIGURE= YES
# for gsch2pcb
EVAL_PREFIX+= PCBDIR=pcb
CONFIGURE_ARGS+= --with-pcb-datadir=${PCBDIR}/share
USE_TOOLS+= gawk:run lex perl:run pkg-config
# for gnet_hier_verilog.sh. It looks to be fairly bash
# dependent
USE_TOOLS+= bash:run
# let (f)lex rebuild this file. The distributed one doesn't
# always work.
post-patch:
${RM} -f ${WRKSRC}/src/olib.c
REPLACE_BASH= scripts/gnet_hier_verilog.sh
REPLACE_PYTHON= scripts/tragesym
REPLACE_PERL+= scripts/pads_backannotate \
scripts/gschupdate \
scripts/gsymfix.pl \
scripts/gsymupdate \
scripts/pcb_backannotate \
scripts/refdes_renum \
scripts/sarlacc_sym
.include "../../cad/libgeda/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|