| @@ -1,84 +1,85 @@ | | | @@ -1,84 +1,85 @@ |
1 | # $NetBSD: Makefile,v 1.56 2009/11/06 22:29:26 dmcmahill Exp $ | | 1 | # $NetBSD: Makefile,v 1.57 2009/12/15 21:31:52 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= geda-gaf-${PKGVERSION} | | 4 | DISTNAME= geda-gaf-${PKGVERSION} |
5 | PKGNAME= geda-${PKGVERSION} | | 5 | PKGNAME= geda-${PKGVERSION} |
| | | 6 | PKGREVISION= 1 |
6 | PKGVERSION= 1.6.0 | | 7 | PKGVERSION= 1.6.0 |
7 | CATEGORIES= cad | | 8 | CATEGORIES= cad |
8 | MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.6/${PKGVERSION}/ \ | | 9 | MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.6/${PKGVERSION}/ \ |
9 | http://www.geda.seul.org/release/v1.6/${PKGVERSION}/ | | 10 | http://www.geda.seul.org/release/v1.6/${PKGVERSION}/ |
10 | | | 11 | |
11 | | | 12 | |
12 | MAINTAINER= dmcmahill@NetBSD.org | | 13 | MAINTAINER= dmcmahill@NetBSD.org |
13 | HOMEPAGE= http://www.geda.seul.org/ | | 14 | HOMEPAGE= http://www.geda.seul.org/ |
14 | COMMENT= Toolset for automating electronic design | | 15 | COMMENT= Toolset for automating electronic design |
15 | LICENSE= gnu-gpl-v2 | | 16 | LICENSE= gnu-gpl-v2 |
16 | | | 17 | |
17 | PKG_DESTDIR_SUPPORT= user-destdir | | 18 | PKG_DESTDIR_SUPPORT= user-destdir |
18 | | | 19 | |
19 | # Older versions of the gEDA suite had each of the tools as a standalone tarball and build. | | 20 | # Older versions of the gEDA suite had each of the tools as a standalone tarball and build. |
20 | # Beginning with 1.6, the build system has been unified. | | 21 | # Beginning with 1.6, the build system has been unified. |
21 | CONFLICTS+= gattrib-[0-9]* | | 22 | CONFLICTS+= gattrib-[0-9]* |
22 | CONFLICTS+= geda-docs-[0-9]* | | 23 | CONFLICTS+= geda-docs-[0-9]* |
23 | CONFLICTS+= geda-examples-[0-9]* | | 24 | CONFLICTS+= geda-examples-[0-9]* |
24 | CONFLICTS+= geda-utils-[0-9]* | | 25 | CONFLICTS+= geda-utils-[0-9]* |
25 | CONFLICTS+= geda-symbols-[0-9]* | | 26 | CONFLICTS+= geda-symbols-[0-9]* |
26 | CONFLICTS+= gnetlist-[0-9]* | | 27 | CONFLICTS+= gnetlist-[0-9]* |
27 | CONFLICTS+= gschem-[0-9]* | | 28 | CONFLICTS+= gschem-[0-9]* |
28 | CONFLICTS+= gsymcheck-[0-9]* | | 29 | CONFLICTS+= gsymcheck-[0-9]* |
29 | CONFLICTS+= libgeda-[0-9]* | | 30 | CONFLICTS+= libgeda-[0-9]* |
30 | | | 31 | |
31 | USE_PKGLOCALEDIR= yes | | 32 | USE_PKGLOCALEDIR= yes |
32 | | | 33 | |
33 | DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools | | 34 | DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools |
34 | | | 35 | |
35 | GNU_CONFIGURE= YES | | 36 | GNU_CONFIGURE= YES |
36 | USE_LIBTOOL= YES | | 37 | USE_LIBTOOL= YES |
37 | USE_TOOLS+= bash gmake msgfmt pkg-config | | 38 | USE_TOOLS+= bash gmake msgfmt pkg-config |
38 | CONFIGURE_ARGS+= --disable-update-mime-database | | 39 | CONFIGURE_ARGS+= --disable-update-mime-database |
39 | CONFIGURE_ARGS+= --disable-update-desktop-database | | 40 | CONFIGURE_ARGS+= --disable-update-desktop-database |
40 | | | 41 | |
41 | # let (f)lex rebuild this file. The distributed one doesn't | | 42 | # let (f)lex rebuild this file. The distributed one doesn't |
42 | # always work. | | 43 | # always work. |
43 | post-patch: | | 44 | post-patch: |
44 | ${RM} -f ${WRKSRC}/utils/src/olib.c | | 45 | ${RM} -f ${WRKSRC}/utils/src/olib.c |
45 | | | 46 | |
46 | # for gnet_hier_verilog.sh. It looks to be fairly bash | | 47 | # for gnet_hier_verilog.sh. It looks to be fairly bash |
47 | # dependent | | 48 | # dependent |
48 | USE_TOOLS+= bash:run | | 49 | USE_TOOLS+= bash:run |
49 | REPLACE_BASH= utils/scripts/gnet_hier_verilog.sh | | 50 | REPLACE_BASH= utils/scripts/gnet_hier_verilog.sh |
50 | REPLACE_PYTHON= utils/scripts/tragesym | | 51 | REPLACE_PYTHON= utils/scripts/tragesym |
51 | REPLACE_PERL+= utils/scripts/pads_backannotate \ | | 52 | REPLACE_PERL+= utils/scripts/pads_backannotate \ |
52 | utils/scripts/gschupdate \ | | 53 | utils/scripts/gschupdate \ |
53 | utils/scripts/gsymfix.pl \ | | 54 | utils/scripts/gsymfix.pl \ |
54 | utils/scripts/gsymupdate \ | | 55 | utils/scripts/gsymupdate \ |
55 | utils/scripts/pcb_backannotate \ | | 56 | utils/scripts/pcb_backannotate \ |
56 | utils/scripts/refdes_renum \ | | 57 | utils/scripts/refdes_renum \ |
57 | utils/scripts/sarlacc_sym | | 58 | utils/scripts/sarlacc_sym |
58 | | | 59 | |
59 | # needs GNU m4 for the PCBboard and gsch2pcb netlisters | | 60 | # needs GNU m4 for the PCBboard and gsch2pcb netlisters |
60 | USE_TOOLS+= gmake m4:run pkg-config | | 61 | USE_TOOLS+= gmake m4:run pkg-config |
61 | | | 62 | |
62 | EVAL_PREFIX+= PCBDIR=pcb | | 63 | EVAL_PREFIX+= PCBDIR=pcb |
63 | CONFIGURE_ARGS+= --with-pcbm4dir=${PCBDIR}/share/pcb/m4 | | 64 | CONFIGURE_ARGS+= --with-pcbm4dir=${PCBDIR}/share/pcb/m4 |
64 | CONFIGURE_ARGS+= --with-pcbconfdir=${PKG_SYSCONFDIR}/pcb | | 65 | CONFIGURE_ARGS+= --with-pcbconfdir=${PKG_SYSCONFDIR}/pcb |
65 | | | 66 | |
66 | REPLACE_SH+= gnetlist/scripts/sch2eaglepos.sh | | 67 | REPLACE_SH+= gnetlist/scripts/sch2eaglepos.sh |
67 | USE_TOOLS+= sh:run | | 68 | USE_TOOLS+= sh:run |
68 | | | 69 | |
69 | # for gsch2pcb | | 70 | # for gsch2pcb |
70 | EVAL_PREFIX+= PCBDIR=pcb | | 71 | EVAL_PREFIX+= PCBDIR=pcb |
71 | CONFIGURE_ARGS+= --with-pcb-datadir=${PCBDIR}/share | | 72 | CONFIGURE_ARGS+= --with-pcb-datadir=${PCBDIR}/share |
72 | USE_TOOLS+= gawk:run lex perl:run pkg-config | | 73 | USE_TOOLS+= gawk:run lex perl:run pkg-config |
73 | | | 74 | |
74 | .include "../../lang/python/application.mk" | | 75 | .include "../../lang/python/application.mk" |
75 | .include "../../databases/shared-mime-info/mimedb.mk" | | 76 | .include "../../databases/shared-mime-info/mimedb.mk" |
76 | .include "../../devel/gettext-lib/buildlink3.mk" | | 77 | .include "../../devel/gettext-lib/buildlink3.mk" |
77 | .include "../../devel/libgetopt/buildlink3.mk" | | 78 | .include "../../devel/libgetopt/buildlink3.mk" |
78 | .include "../../devel/libstroke/buildlink3.mk" | | 79 | .include "../../devel/libstroke/buildlink3.mk" |
79 | .include "../../graphics/gd/buildlink3.mk" | | 80 | .include "../../graphics/gd/buildlink3.mk" |
80 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 81 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
81 | .include "../../lang/guile/buildlink3.mk" | | 82 | .include "../../lang/guile/buildlink3.mk" |
82 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 83 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
83 | .include "../../x11/gtk2/buildlink3.mk" | | 84 | .include "../../x11/gtk2/buildlink3.mk" |
84 | .include "../../mk/bsd.pkg.mk" | | 85 | .include "../../mk/bsd.pkg.mk" |