[48307] trunk/dports/science/qucs

rowue at macports.org rowue at macports.org
Wed Mar 18 14:08:08 PDT 2009


Revision: 48307
          http://trac.macports.org/changeset/48307
Author:   rowue at macports.org
Date:     2009-03-18 14:08:07 -0700 (Wed, 18 Mar 2009)
Log Message:
-----------
changed dependency from qt3 to qt3-mac

Modified Paths:
--------------
    trunk/dports/science/qucs/Portfile

Added Paths:
-----------
    trunk/dports/science/qucs/files/
    trunk/dports/science/qucs/files/patch-configure.diff

Modified: trunk/dports/science/qucs/Portfile
===================================================================
--- trunk/dports/science/qucs/Portfile	2009-03-18 20:52:16 UTC (rev 48306)
+++ trunk/dports/science/qucs/Portfile	2009-03-18 21:08:07 UTC (rev 48307)
@@ -1,3 +1,4 @@
+# -*- 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
 # $Id$
 
 PortSystem      1.0
@@ -4,6 +5,7 @@
 
 name                qucs
 version             0.0.14
+Revision            1
 categories          science electronics
 maintainers         rowue at digitalis.org
 platforms           darwin
@@ -16,6 +18,10 @@
 checksums           md5 6c2b7ec626ccb167eb089c322d21aed0 \
                     sha1 2563657d3659e1c7d45399f0c10dbc9fe4850b04 \
                     rmd160 3962ca9e893f828d7e1bb033815f07e651c83e49
-depends_lib         port:qt3 \
+depends_lib         port:qt3-mac \
                     port:freehdl
-configure.env       QTDIR="${prefix}/lib/qt3"
+patchfiles          patch-configure.diff
+post-destroot {
+    xinstall -m 755 -d ${destroot}/Applications/MacPorts/Qucs.app/Contents/MacOS
+    ln -s ${prefix}/bin/qucs ${destroot}/Applications/MacPorts/Qucs.app/Contents/MacOS/Qucs
+}

Added: trunk/dports/science/qucs/files/patch-configure.diff
===================================================================
--- trunk/dports/science/qucs/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/science/qucs/files/patch-configure.diff	2009-03-18 21:08:07 UTC (rev 48307)
@@ -0,0 +1,11 @@
+--- configure.orig	2008-04-10 15:21:51.000000000 +0200
++++ configure	2009-03-18 21:28:50.000000000 +0100
+@@ -6005,7 +6005,7 @@
+ paths="$QTDIR/include /usr/local/qt/include /usr/include/qt /usr/include/qt3 \
+   /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/X11/qt \
+   /usr/X11R6/include/qt /usr/X11R6/include /sw/include/qt \
+-  /usr/X11R6/include/qt2"
++  /usr/X11R6/include/qt2 /opt/local/include/qt3"
+ for path in $paths; do
+   if test -f "$path/qapplication.h"; then
+     QT_INCLUDES=$path
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090318/b8ab0b68/attachment.html>


More information about the macports-changes mailing list