source: trunk/dports/cad/xgsch2pcb/Portfile

Last change on this file was 136201, checked in by devans@…, 2 years ago

xgsch2pcb: increment revision to fix locale install path.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 136201 2015-05-11 23:06:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xgsch2pcb
7version             0.1.3
8revision            4
9categories          cad science electronics
10license             GPL-2+
11maintainers         nomaintainer
12description         intuitive and user-friendly graphical interface to gsch2pcb
13long_description    xgsch2pcb provides an intuitive, user-friendly graphical interface to \
14                    the gsch2pcb command-line tool which is used to generate and update a \
15                    PCB layout. It works with schematics created by gschem, and layouts \
16                    created by pcb. xgsch2pcb also features a "template" functionality for \
17                    creating new projects.
18
19homepage            http://wiki.geda-project.org/geda:download
20platforms           darwin
21supported_archs     noarch
22# upstream download site no longer available
23# use macports distfile mirrors instead
24master_sites        macports_distfiles:xgsch2pcb
25checksums           md5     caf84bc0f17b75a2984fea2a64fc2c81 \
26                    sha1    5bddd5973c2ecf8c43e03ee3f9484de44f649572
27distname            geda-${name}-${version}
28depends_build       port:intltool
29depends_lib         port:desktop-file-utils \
30                    port:gtk2 \
31                    port:pcb \
32                    port:py27-pygtk \
33                    port:dbus-python27
34depends_run         port:geda-gaf
35
36patchfiles          patch-configure.ac.diff \
37                    patch-Makefile.am.diff
38
39# no upstream autogen.sh available
40# reconfigure using intltoolize and autoreconf for intltool 0.51 compatibility
41
42pre-configure {
43    system -W ${worksrcpath} "intltoolize --automake --copy --force"
44}
45
46use_autoreconf  yes
47autoreconf.args -fvi
48
49configure.python    ${prefix}/bin/python2.7
50configure.args      --disable-update-desktop-database
51
52post-activate {
53    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
54    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
55}
Note: See TracBrowser for help on using the repository browser.