source: trunk/dports/x11/pcb/Portfile @ 109415

Last change on this file since 109415 was 109415, checked in by ryandesign@…, 7 years ago

revbump ports that link with libgd in their default configuration to rebuild with gd2 @2.1.0 (libgd.3.dylib) (#39550)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 109415 2013-08-15 06:58:50Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                pcb
6version             20110918
7revision            1
8categories          x11 graphics
9maintainers         nomaintainer
10license             GPL-2+
11description         Printed Circuit Board Layout Tool
12long_description    PCB is an interactive printed circuit board editor for the \
13                    X11 window system. PCB includes a rats nest feature, design \
14                    rule checking, and can provide industry standard RS-274-X \
15                    (Gerber), NC drill, and centroid data (X-Y data) output for \
16                    use in the board fabrication and assembly process. PCB offers \
17                    high end features such as an autorouter and trace optimizer \
18                    which can tremendously reduce layout time.
19
20homepage            http://pcb.sourceforge.net
21master_sites        sourceforge
22platforms           darwin
23checksums           md5     54bbc997eeb22b85cf21fed54cb8e181 \
24                    sha1    53ca27797d4db65a068b56f157e3ea6c5c29051f \
25                    rmd160  1e176a03a7a61ac23b7abe532277415c87637c16
26
27depends_build       port:intltool \
28                    port:pkgconfig
29depends_run         bin:wish:tk
30depends_lib         port:gtk2 \
31                    port:gtkglext \
32                    port:gd2 \
33                    port:dbus \
34                    port:mesa
35
36configure.args      --mandir=${prefix}/share/man \
37                    --infodir=${prefix}/share/info \
38                    --disable-update-desktop-database \
39                    --enable-dbus \
40                    --disable-update-mime-database
41
42post-extract {
43    file copy ${worksrcpath}/gts/gts.h ${worksrcpath}/gts/pcbgts.h
44}
45
46post-patch {
47    #rename pcb's builtin gts library so it won't conflict with port gts
48    reinplace "s|gts.h|pcbgts.h|"  ${worksrcpath}/gts/Makefile.in \
49                                   ${worksrcpath}/src/toporouter.h
50    reinplace "s|gts.a|pcbgts.a|g" ${worksrcpath}/gts/Makefile.in \
51                                   ${worksrcpath}/src/Makefile.in
52}
53
54post-configure {
55    #hackish, couldn't disable OS X SDKs' OpenGL in configure script
56    reinplace "s|#define HAVE_OPENGL_GL_H 1||"  ${worksrcpath}/config.h
57    reinplace "s|#define HAVE_OPENGL_GLU_H 1||" ${worksrcpath}/config.h
58}
59
60build.env           LC_CTYPE=en_US.ISO8859-1
Note: See TracBrowser for help on using the repository browser.