[84949] trunk/dports/x11/pcb/Portfile

and.damore at macports.org and.damore at macports.org
Wed Oct 5 09:39:57 PDT 2011


Revision: 84949
          http://trac.macports.org/changeset/84949
Author:   and.damore at macports.org
Date:     2011-10-05 09:39:56 -0700 (Wed, 05 Oct 2011)
Log Message:
-----------
port pcb update to 20110918, maintainer timeout in #30618, closes #30618

Modified Paths:
--------------
    trunk/dports/x11/pcb/Portfile

Modified: trunk/dports/x11/pcb/Portfile
===================================================================
--- trunk/dports/x11/pcb/Portfile	2011-10-05 15:43:14 UTC (rev 84948)
+++ trunk/dports/x11/pcb/Portfile	2011-10-05 16:39:56 UTC (rev 84949)
@@ -3,9 +3,10 @@
 PortSystem          1.0
 
 name                pcb
-version             20091103
+version             20110918
 categories          x11 graphics
 maintainers         megacz.com:adam
+license             GPL-2+
 description         Printed Circuit Board Layout Tool
 long_description    PCB is an interactive printed circuit board editor for the \
                     X11 window system. PCB includes a rats nest feature, design \
@@ -14,22 +15,44 @@
                     use in the board fabrication and assembly process. PCB offers \
                     high end features such as an autorouter and trace optimizer \
                     which can tremendously reduce layout time.
+
 homepage            http://pcb.sourceforge.net
 master_sites        sourceforge
 platforms           darwin
-checksums           md5     659a13bffd2269d3a0f86508a7c1531b \
-                    sha1    49b1bf551b0e4d8811abf55af515d77a59797e31 \
-                    rmd160  6e0cd1a4e1bf92a403f3d805aa3b0649360cb04e
+checksums           md5     54bbc997eeb22b85cf21fed54cb8e181 \
+                    sha1    53ca27797d4db65a068b56f157e3ea6c5c29051f \
+                    rmd160  1e176a03a7a61ac23b7abe532277415c87637c16
 
 depends_build       port:intltool \
                     port:pkgconfig
 depends_run         bin:wish:tk
 depends_lib         port:gtk2 \
+                    port:gtkglext \
                     port:gd2 \
-                    port:dbus
+                    port:dbus \
+                    port:mesa
 
 configure.args      --mandir=${prefix}/share/man \
                     --infodir=${prefix}/share/info \
                     --disable-update-desktop-database \
                     --enable-dbus \
                     --disable-update-mime-database
+
+post-extract {
+    file copy ${worksrcpath}/gts/gts.h ${worksrcpath}/gts/pcbgts.h
+}
+
+post-patch {
+    #rename pcb's builtin gts library so it won't conflict with port gts
+    reinplace "s|gts.h|pcbgts.h|"  ${worksrcpath}/gts/Makefile.in \
+                                   ${worksrcpath}/src/toporouter.h
+    reinplace "s|gts.a|pcbgts.a|g" ${worksrcpath}/gts/Makefile.in \
+                                   ${worksrcpath}/src/Makefile.in
+}
+
+post-configure {
+    #hackish, couldn't disable OS X SDKs' OpenGL in configure script 
+    reinplace "s|#define HAVE_OPENGL_GL_H 1||"  ${worksrcpath}/config.h
+    reinplace "s|#define HAVE_OPENGL_GLU_H 1||" ${worksrcpath}/config.h
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111005/2abd2887/attachment.html>


More information about the macports-changes mailing list