[45069] trunk/dports/textproc/ispell/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Wed Jan 7 21:53:30 PST 2009


Revision: 45069
          http://trac.macports.org/changeset/45069
Author:   mcalhoun at macports.org
Date:     2009-01-07 21:53:27 -0800 (Wed, 07 Jan 2009)
Log Message:
-----------
ispell: Ensure that correct compiler is used.
Use MacPorts ncurses instead of system curses.

Modified Paths:
--------------
    trunk/dports/textproc/ispell/Portfile

Modified: trunk/dports/textproc/ispell/Portfile
===================================================================
--- trunk/dports/textproc/ispell/Portfile	2009-01-08 03:59:52 UTC (rev 45068)
+++ trunk/dports/textproc/ispell/Portfile	2009-01-08 05:53:27 UTC (rev 45069)
@@ -4,6 +4,7 @@
 
 name            ispell
 version         3.3.02
+revision        1
 categories      textproc spelling
 platforms       darwin freebsd
 maintainers     nomaintainer
@@ -14,14 +15,12 @@
 checksums       md5 12087d7555fc2b746425cd167af480fe
 build.env       TMPDIR=${workpath}
 
+depends_lib     port:ncurses
+
 configure {
             xinstall -c -m 0744 -W ${worksrcpath} local.h.macos local.h
-            reinplace s|/usr/local|${prefix}|g ${worksrcpath}/local.h
             reinplace s|/man/|/share/man/|g ${worksrcpath}/local.h
+            reinplace s|\"-lcurses\"|\"-L${prefix}/lib\ -lncurses\"| ${worksrcpath}/local.h
+            reinplace s|\"cc\"|\"${configure.cc}\"| ${worksrcpath}/config.X
+            reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/local.h
 }
-pre-destroot {
-            xinstall -d ${destroot}${prefix}/bin
-                        xinstall -d ${destroot}${prefix}/lib
-                        xinstall -d ${destroot}${prefix}/share/man
-                        reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/config.sh}
-destroot.destdir    {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090107/f2ea2f01/attachment.html>


More information about the macports-changes mailing list