HOMEPAGE has moveddiff -r1.88 -r1.89 pkgsrc/cad/geda/Makefile
(dmcmahill)
@@ -1,92 +1,92 @@ | @@ -1,92 +1,92 @@ | |||
1 | # $NetBSD: Makefile,v 1.88 2013/06/06 12:54:07 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.89 2013/07/02 01:14:40 dmcmahill Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= geda-gaf-1.6.2 | 4 | DISTNAME= geda-gaf-1.6.2 | |
5 | PKGNAME= ${DISTNAME:S/-gaf-/-/} | 5 | PKGNAME= ${DISTNAME:S/-gaf-/-/} | |
6 | PKGREVISION= 17 | 6 | PKGREVISION= 17 | |
7 | CATEGORIES= cad | 7 | CATEGORIES= cad | |
8 | MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.6/${PKGVERSION_NOREV}/ \ | 8 | MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.6/${PKGVERSION_NOREV}/ \ | |
9 | http://geda.seul.org/release/v1.6/${PKGVERSION_NOREV}/ | 9 | http://geda.seul.org/release/v1.6/${PKGVERSION_NOREV}/ | |
10 | 10 | |||
11 | MAINTAINER= dmcmahill@NetBSD.org | 11 | MAINTAINER= dmcmahill@NetBSD.org | |
12 | HOMEPAGE= http://www.gpleda.org/ | 12 | HOMEPAGE= http://www.geda-project.org/ | |
13 | COMMENT= Toolset for automating electronic design | 13 | COMMENT= Toolset for automating electronic design | |
14 | LICENSE= gnu-gpl-v2 | 14 | LICENSE= gnu-gpl-v2 | |
15 | 15 | |||
16 | # Older versions of the gEDA suite had each of the tools as a standalone tarball and build. | 16 | # Older versions of the gEDA suite had each of the tools as a standalone tarball and build. | |
17 | # Beginning with 1.6, the build system has been unified. | 17 | # Beginning with 1.6, the build system has been unified. | |
18 | CONFLICTS+= gattrib-[0-9]* | 18 | CONFLICTS+= gattrib-[0-9]* | |
19 | CONFLICTS+= geda-docs-[0-9]* | 19 | CONFLICTS+= geda-docs-[0-9]* | |
20 | CONFLICTS+= geda-examples-[0-9]* | 20 | CONFLICTS+= geda-examples-[0-9]* | |
21 | CONFLICTS+= geda-utils-[0-9]* | 21 | CONFLICTS+= geda-utils-[0-9]* | |
22 | CONFLICTS+= geda-symbols-[0-9]* | 22 | CONFLICTS+= geda-symbols-[0-9]* | |
23 | CONFLICTS+= gnetlist-[0-9]* | 23 | CONFLICTS+= gnetlist-[0-9]* | |
24 | CONFLICTS+= gschem-[0-9]* | 24 | CONFLICTS+= gschem-[0-9]* | |
25 | CONFLICTS+= gsymcheck-[0-9]* | 25 | CONFLICTS+= gsymcheck-[0-9]* | |
26 | CONFLICTS+= libgeda-[0-9]* | 26 | CONFLICTS+= libgeda-[0-9]* | |
27 | 27 | |||
28 | USE_PKGLOCALEDIR= yes | 28 | USE_PKGLOCALEDIR= yes | |
29 | 29 | |||
30 | DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools | 30 | DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools | |
31 | 31 | |||
32 | GNU_CONFIGURE= YES | 32 | GNU_CONFIGURE= YES | |
33 | USE_LIBTOOL= YES | 33 | USE_LIBTOOL= YES | |
34 | USE_TOOLS+= bash gmake msgfmt pkg-config | 34 | USE_TOOLS+= bash gmake msgfmt pkg-config | |
35 | CONFIGURE_ARGS+= --disable-update-mime-database | 35 | CONFIGURE_ARGS+= --disable-update-mime-database | |
36 | CONFIGURE_ARGS+= --disable-update-desktop-database | 36 | CONFIGURE_ARGS+= --disable-update-desktop-database | |
37 | 37 | |||
38 | # let (f)lex rebuild this file. The distributed one doesn't | 38 | # let (f)lex rebuild this file. The distributed one doesn't | |
39 | # always work. | 39 | # always work. | |
40 | post-patch: | 40 | post-patch: | |
41 | ${RM} -f ${WRKSRC}/utils/src/olib.c | 41 | ${RM} -f ${WRKSRC}/utils/src/olib.c | |
42 | 42 | |||
43 | # for gnet_hier_verilog.sh. It looks to be fairly bash | 43 | # for gnet_hier_verilog.sh. It looks to be fairly bash | |
44 | # dependent | 44 | # dependent | |
45 | USE_TOOLS+= bash:run | 45 | USE_TOOLS+= bash:run | |
46 | REPLACE_BASH= utils/scripts/gnet_hier_verilog.sh | 46 | REPLACE_BASH= utils/scripts/gnet_hier_verilog.sh | |
47 | REPLACE_PYTHON= utils/scripts/tragesym | 47 | REPLACE_PYTHON= utils/scripts/tragesym | |
48 | REPLACE_PERL+= utils/scripts/pads_backannotate \ | 48 | REPLACE_PERL+= utils/scripts/pads_backannotate \ | |
49 | utils/scripts/gschupdate \ | 49 | utils/scripts/gschupdate \ | |
50 | utils/scripts/gsymfix.pl \ | 50 | utils/scripts/gsymfix.pl \ | |
51 | utils/scripts/gsymupdate \ | 51 | utils/scripts/gsymupdate \ | |
52 | utils/scripts/pcb_backannotate \ | 52 | utils/scripts/pcb_backannotate \ | |
53 | utils/scripts/refdes_renum \ | 53 | utils/scripts/refdes_renum \ | |
54 | utils/scripts/sarlacc_sym \ | 54 | utils/scripts/sarlacc_sym \ | |
55 | utils/gxyrs/gxyrs.pl | 55 | utils/gxyrs/gxyrs.pl | |
56 | 56 | |||
57 | # needs GNU m4 for the PCBboard and gsch2pcb netlisters | 57 | # needs GNU m4 for the PCBboard and gsch2pcb netlisters | |
58 | USE_TOOLS+= gmake m4:run pkg-config | 58 | USE_TOOLS+= gmake m4:run pkg-config | |
59 | 59 | |||
60 | EVAL_PREFIX+= PCBDIR=pcb | 60 | EVAL_PREFIX+= PCBDIR=pcb | |
61 | CONFIGURE_ARGS+= --with-pcbm4dir=${PCBDIR}/share/pcb/m4 | 61 | CONFIGURE_ARGS+= --with-pcbm4dir=${PCBDIR}/share/pcb/m4 | |
62 | CONFIGURE_ARGS+= --with-pcbconfdir=${PKG_SYSCONFDIR}/pcb | 62 | CONFIGURE_ARGS+= --with-pcbconfdir=${PKG_SYSCONFDIR}/pcb | |
63 | 63 | |||
64 | SUBST_CLASSES+= python | 64 | SUBST_CLASSES+= python | |
65 | SUBST_STAGE.python= pre-configure | 65 | SUBST_STAGE.python= pre-configure | |
66 | SUBST_FILES.python= utils/scripts/garchive.py | 66 | SUBST_FILES.python= utils/scripts/garchive.py | |
67 | SUBST_SED.python= -e 's,/usr/bin/env python,${PYTHONBIN},' | 67 | SUBST_SED.python= -e 's,/usr/bin/env python,${PYTHONBIN},' | |
68 | SUBST_SED.python+= -e 's,%PYTHONBIN%,${PYTHONBIN},' | 68 | SUBST_SED.python+= -e 's,%PYTHONBIN%,${PYTHONBIN},' | |
69 | 69 | |||
70 | REPLACE_SH+= gnetlist/scripts/sch2eaglepos.sh | 70 | REPLACE_SH+= gnetlist/scripts/sch2eaglepos.sh | |
71 | USE_TOOLS+= sh:run | 71 | USE_TOOLS+= sh:run | |
72 | 72 | |||
73 | # for gsch2pcb | 73 | # for gsch2pcb | |
74 | EVAL_PREFIX+= PCBDIR=pcb | 74 | EVAL_PREFIX+= PCBDIR=pcb | |
75 | CONFIGURE_ARGS+= --with-pcb-datadir=${PCBDIR}/share | 75 | CONFIGURE_ARGS+= --with-pcb-datadir=${PCBDIR}/share | |
76 | USE_TOOLS+= gawk:run lex perl:run pkg-config | 76 | USE_TOOLS+= gawk:run lex perl:run pkg-config | |
77 | 77 | |||
78 | # disable groff for a consistent build | 78 | # disable groff for a consistent build | |
79 | # (otherwise html man pages appear if and only if groff -Thtml works) | 79 | # (otherwise html man pages appear if and only if groff -Thtml works) | |
80 | CONFIGURE_ENV+= GROFF=false | 80 | CONFIGURE_ENV+= GROFF=false | |
81 | 81 | |||
82 | .include "../../lang/python/application.mk" | 82 | .include "../../lang/python/application.mk" | |
83 | .include "../../databases/shared-mime-info/mimedb.mk" | 83 | .include "../../databases/shared-mime-info/mimedb.mk" | |
84 | .include "../../devel/gettext-lib/buildlink3.mk" | 84 | .include "../../devel/gettext-lib/buildlink3.mk" | |
85 | .include "../../devel/libgetopt/buildlink3.mk" | 85 | .include "../../devel/libgetopt/buildlink3.mk" | |
86 | .include "../../devel/libstroke/buildlink3.mk" | 86 | .include "../../devel/libstroke/buildlink3.mk" | |
87 | .include "../../graphics/gd/buildlink3.mk" | 87 | .include "../../graphics/gd/buildlink3.mk" | |
88 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 88 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
89 | .include "../../lang/guile/buildlink3.mk" | 89 | .include "../../lang/guile/buildlink3.mk" | |
90 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 90 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
91 | .include "../../x11/gtk2/buildlink3.mk" | 91 | .include "../../x11/gtk2/buildlink3.mk" | |
92 | .include "../../mk/bsd.pkg.mk" | 92 | .include "../../mk/bsd.pkg.mk" |
@@ -1,28 +1,28 @@ | @@ -1,28 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.56 2013/06/06 12:54:07 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.57 2013/07/02 01:14:40 dmcmahill Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= gerbv-2.5.0 | 4 | DISTNAME= gerbv-2.5.0 | |
5 | PKGREVISION= 11 | 5 | PKGREVISION= 11 | |
6 | CATEGORIES= cad | 6 | CATEGORIES= cad | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gerbv/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gerbv/} | |
8 | 8 | |||
9 | MAINTAINER= dmcmahill@NetBSD.org | 9 | MAINTAINER= dmcmahill@NetBSD.org | |
10 | HOMEPAGE= http://gerbv.sourceforge.net/ | 10 | HOMEPAGE= http://gerbv.geda-project.org/ | |
11 | COMMENT= Gerber file viewer | 11 | COMMENT= Gerber file viewer | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
15 | 15 | |||
16 | GNU_CONFIGURE= YES | 16 | GNU_CONFIGURE= YES | |
17 | USE_LIBTOOL= YES | 17 | USE_LIBTOOL= YES | |
18 | USE_TOOLS+= gmake pkg-config | 18 | USE_TOOLS+= gmake pkg-config | |
19 | 19 | |||
20 | PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q} | 20 | PLIST_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q} | |
21 | 21 | |||
22 | .include "../../devel/glib2/buildlink3.mk" | 22 | .include "../../devel/glib2/buildlink3.mk" | |
23 | .include "../../graphics/cairo/buildlink3.mk" | 23 | .include "../../graphics/cairo/buildlink3.mk" | |
24 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 24 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
25 | .include "../../graphics/png/buildlink3.mk" | 25 | .include "../../graphics/png/buildlink3.mk" | |
26 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 26 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
27 | .include "../../x11/gtk2/buildlink3.mk" | 27 | .include "../../x11/gtk2/buildlink3.mk" | |
28 | .include "../../mk/bsd.pkg.mk" | 28 | .include "../../mk/bsd.pkg.mk" |
@@ -1,89 +1,89 @@ | @@ -1,89 +1,89 @@ | |||
1 | # $NetBSD: Makefile,v 1.71 2013/06/06 12:54:07 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.72 2013/07/02 01:14:40 dmcmahill Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= pcb-20110918 | 4 | DISTNAME= pcb-20110918 | |
5 | PKGREVISION= 12 | 5 | PKGREVISION= 12 | |
6 | CATEGORIES= cad | 6 | CATEGORIES= cad | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcb/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcb/} | |
8 | 8 | |||
9 | MAINTAINER= dmcmahill@NetBSD.org | 9 | MAINTAINER= dmcmahill@NetBSD.org | |
10 | HOMEPAGE= http://pcb.gpleda.org/ | 10 | HOMEPAGE= http://pcb.geda-project.org/ | |
11 | COMMENT= Printed circuit board layout system | 11 | COMMENT= Printed circuit board layout system | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
15 | 15 | |||
16 | DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools | 16 | DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools | |
17 | 17 | |||
18 | CONFLICTS+= pcb-current-[0-9]* | 18 | CONFLICTS+= pcb-current-[0-9]* | |
19 | 19 | |||
20 | GNU_CONFIGURE= yes | 20 | GNU_CONFIGURE= yes | |
21 | CONFIGURE_ENV+= WISH=${TOOLS_PATH.wish} | 21 | CONFIGURE_ENV+= WISH=${TOOLS_PATH.wish} | |
22 | # work around a problem where the configure script uses | 22 | # work around a problem where the configure script uses | |
23 | # AM_PROG_LEX and follows it with an AC_PATH_PROG to try | 23 | # AM_PROG_LEX and follows it with an AC_PATH_PROG to try | |
24 | # and make sure that lex really does exist. Unfortunately | 24 | # and make sure that lex really does exist. Unfortunately | |
25 | # that test is thrown off by pkgsrc giving a full path for LEX. | 25 | # that test is thrown off by pkgsrc giving a full path for LEX. | |
26 | # so, bypass the test and put our desired result directly into the | 26 | # so, bypass the test and put our desired result directly into the | |
27 | # configure cache. Same for YACC. | 27 | # configure cache. Same for YACC. | |
28 | CONFIGURE_ENV+= ac_cv_path_LEX_PATH=${TOOLS_PATH.lex} | 28 | CONFIGURE_ENV+= ac_cv_path_LEX_PATH=${TOOLS_PATH.lex} | |
29 | CONFIGURE_ENV+= ac_cv_path_YACC_PATH=${TOOLS_PATH.bison} | 29 | CONFIGURE_ENV+= ac_cv_path_YACC_PATH=${TOOLS_PATH.bison} | |
30 | CONFIGURE_ARGS+= --disable-update-desktop-database | 30 | CONFIGURE_ARGS+= --disable-update-desktop-database | |
31 | CONFIGURE_ARGS+= --disable-update-mime-database | 31 | CONFIGURE_ARGS+= --disable-update-mime-database | |
32 | USE_TOOLS+= bison gm4:run gmake intltool lex wish:run pkg-config | 32 | USE_TOOLS+= bison gm4:run gmake intltool lex wish:run pkg-config | |
33 | USE_PKGLOCALEDIR= yes | 33 | USE_PKGLOCALEDIR= yes | |
34 | INFO_FILES= yes | 34 | INFO_FILES= yes | |
35 | LDFLAGS+= -lstdc++ # direct link as required by ld v2.22 | 35 | LDFLAGS+= -lstdc++ # direct link as required by ld v2.22 | |
36 | 36 | |||
37 | USE_LANGUAGES= c c++ | 37 | USE_LANGUAGES= c c++ | |
38 | 38 | |||
39 | PKG_OPTIONS_VAR= PKG_OPTIONS.pcb | 39 | PKG_OPTIONS_VAR= PKG_OPTIONS.pcb | |
40 | PKG_SUPPORTED_OPTIONS= png | 40 | PKG_SUPPORTED_OPTIONS= png | |
41 | PKG_OPTIONS_REQUIRED_GROUPS= gui | 41 | PKG_OPTIONS_REQUIRED_GROUPS= gui | |
42 | PKG_OPTIONS_GROUP.gui= batch gtk motif | 42 | PKG_OPTIONS_GROUP.gui= batch gtk motif | |
43 | PKG_SUGGESTED_OPTIONS= gtk png | 43 | PKG_SUGGESTED_OPTIONS= gtk png | |
44 | 44 | |||
45 | .include "../../mk/bsd.prefs.mk" | 45 | .include "../../mk/bsd.prefs.mk" | |
46 | .include "../../mk/bsd.options.mk" | 46 | .include "../../mk/bsd.options.mk" | |
47 | 47 | |||
48 | .if !empty(PKG_OPTIONS:Mmotif) | 48 | .if !empty(PKG_OPTIONS:Mmotif) | |
49 | .include "../../mk/motif.buildlink3.mk" | 49 | .include "../../mk/motif.buildlink3.mk" | |
50 | CONFIGURE_ARGS+= --with-gui=lesstif | 50 | CONFIGURE_ARGS+= --with-gui=lesstif | |
51 | .elif !empty(PKG_OPTIONS:Mgtk) | 51 | .elif !empty(PKG_OPTIONS:Mgtk) | |
52 | .include "../../graphics/gtkglext/buildlink3.mk" | 52 | .include "../../graphics/gtkglext/buildlink3.mk" | |
53 | .include "../../graphics/glu/buildlink3.mk" | 53 | .include "../../graphics/glu/buildlink3.mk" | |
54 | .include "../../x11/gtk2/buildlink3.mk" | 54 | .include "../../x11/gtk2/buildlink3.mk" | |
55 | CONFIGURE_ARGS+= --with-gui=gtk | 55 | CONFIGURE_ARGS+= --with-gui=gtk | |
56 | .elif !empty(PKG_OPTIONS:Mbatch) | 56 | .elif !empty(PKG_OPTIONS:Mbatch) | |
57 | CONFIGURE_ARGS+= --with-gui=none | 57 | CONFIGURE_ARGS+= --with-gui=none | |
58 | .else | 58 | .else | |
59 | PKG_FAIL_REASON= Invalid options | 59 | PKG_FAIL_REASON= Invalid options | |
60 | .endif | 60 | .endif | |
61 | 61 | |||
62 | # dbus is only needed if we are building a gui (lesstif/gtk) | 62 | # dbus is only needed if we are building a gui (lesstif/gtk) | |
63 | .if empty(PKG_OPTIONS:Mbatch) | 63 | .if empty(PKG_OPTIONS:Mbatch) | |
64 | .include "../../sysutils/dbus/buildlink3.mk" | 64 | .include "../../sysutils/dbus/buildlink3.mk" | |
65 | .endif | 65 | .endif | |
66 | 66 | |||
67 | EXPORTERS= bom gerber ps | 67 | EXPORTERS= bom gerber ps | |
68 | .if !empty(PKG_OPTIONS:Mpng) | 68 | .if !empty(PKG_OPTIONS:Mpng) | |
69 | EXPORTERS+= png | 69 | EXPORTERS+= png | |
70 | .include "../../graphics/gd/buildlink3.mk" | 70 | .include "../../graphics/gd/buildlink3.mk" | |
71 | .endif | 71 | .endif | |
72 | 72 | |||
73 | CONFIGURE_ARGS+= --with-exporters=${EXPORTERS:Q} | 73 | CONFIGURE_ARGS+= --with-exporters=${EXPORTERS:Q} | |
74 | 74 | |||
75 | post-extract: | 75 | post-extract: | |
76 | ${CHMOD} -R go-w ${WRKSRC} | 76 | ${CHMOD} -R go-w ${WRKSRC} | |
77 | 77 | |||
78 | # remove some stuff that is either broken or unmaintained | 78 | # remove some stuff that is either broken or unmaintained | |
79 | # and would require another runtime depends | 79 | # and would require another runtime depends | |
80 | post-install: | 80 | post-install: | |
81 | ${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/PCB2HPGL | 81 | ${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/PCB2HPGL | |
82 | ${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/tgo2pcb.tcl | 82 | ${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/tgo2pcb.tcl | |
83 | 83 | |||
84 | .include "../../devel/gettext-lib/buildlink3.mk" | 84 | .include "../../devel/gettext-lib/buildlink3.mk" | |
85 | # NOTE: glib is needed by the core of pcb and not just the GTK gui. | 85 | # NOTE: glib is needed by the core of pcb and not just the GTK gui. | |
86 | .include "../../devel/glib2/buildlink3.mk" | 86 | .include "../../devel/glib2/buildlink3.mk" | |
87 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 87 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
88 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 88 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
89 | .include "../../mk/bsd.pkg.mk" | 89 | .include "../../mk/bsd.pkg.mk" |