[36816] trunk/dports/textproc/hunspell
jochen at macports.org
jochen at macports.org
Thu May 15 07:43:28 PDT 2008
Revision: 36816
http://trac.macosforge.org/projects/macports/changeset/36816
Author: jochen at macports.org
Date: 2008-05-15 07:43:22 -0700 (Thu, 15 May 2008)
Log Message:
-----------
update to search for dictionaries in macports space
Modified Paths:
--------------
trunk/dports/textproc/hunspell/Portfile
Added Paths:
-----------
trunk/dports/textproc/hunspell/files/
trunk/dports/textproc/hunspell/files/patch-hunspell.cxx.diff
Modified: trunk/dports/textproc/hunspell/Portfile
===================================================================
--- trunk/dports/textproc/hunspell/Portfile 2008-05-15 13:28:25 UTC (rev 36815)
+++ trunk/dports/textproc/hunspell/Portfile 2008-05-15 14:43:22 UTC (rev 36816)
@@ -3,36 +3,40 @@
PortSystem 1.0
-name hunspell
-version 1.2.2
-categories textproc
-maintainers openmaintainer jochen
-description Spell checker and morphological analyzer
-homepage http://hunspell.sourceforge.net/
-platforms darwin
+name hunspell
+version 1.2.2
+revision 1
+categories textproc
+maintainers openmaintainer jochen
+description Spell checker and morphological analyzer
+homepage http://hunspell.sourceforge.net/
+platforms darwin
-long_description Hunspell is a spell checker and morphological analyzer library and program \
- designed for languages with rich morphology and complex word compounding or \
- character encoding. Hunspell interfaces: Ispell-like terminal interface \
- using Curses library, Ispell pipe interface, OpenOffice.org UNO module.
+long_description Hunspell is a spell checker and morphological analyzer library and program \
+ designed for languages with rich morphology and complex word compounding or \
+ character encoding. Hunspell interfaces: Ispell-like terminal interface \
+ using Curses library, Ispell pipe interface, OpenOffice.org UNO module.
-master_sites sourceforge
+master_sites sourceforge
-checksums md5 e8cde1130894dcd3f732248db945d0c0 \
- sha1 521063ff64b2182e92e92f5355ae2cf396f39420 \
- rmd160 110c428f2b6734afefb8865dc3d63a4492594552
+checksums md5 e8cde1130894dcd3f732248db945d0c0 \
+ sha1 521063ff64b2182e92e92f5355ae2cf396f39420 \
+ rmd160 110c428f2b6734afefb8865dc3d63a4492594552
-depends_build port:autoconf port:automake
-depends_lib port:gettext port:ncurses port:readline
+depends_lib port:gettext port:ncurses port:readline
-configure.args --with-ui --with-readline
+patchfiles patch-hunspell.cxx.diff
-use_parallel_build yes
+configure.cflags-append -DLIBDIR=\\"$prefix/share/hunspell:/usr/share/myspell\\"
+configure.cxxflags-append -DLIBDIR=\\"$prefix/share/hunspell:/usr/share/myspell\\"
+configure.args --with-ui --with-readline
-test.run yes
-test.target check
+use_parallel_build yes
+test.run yes
+test.target check
+
post-install {
ui_msg "******************************************************************"
ui_msg "You must install (at least) one of the language dictionaries after"
Added: trunk/dports/textproc/hunspell/files/patch-hunspell.cxx.diff
===================================================================
--- trunk/dports/textproc/hunspell/files/patch-hunspell.cxx.diff (rev 0)
+++ trunk/dports/textproc/hunspell/files/patch-hunspell.cxx.diff 2008-05-15 14:43:22 UTC (rev 36816)
@@ -0,0 +1,12 @@
+--- src/tools/hunspell.cxx.orig 2008-05-15 16:14:48.000000000 +0200
++++ src/tools/hunspell.cxx 2008-05-15 16:15:40.000000000 +0200
+@@ -62,9 +62,6 @@
+ #include "manparser.hxx"
+ #include "firstparser.hxx"
+
+-#define LIBDIR \
+- "/usr/share/hunspell:" \
+- "/usr/share/myspell"
+ #define USEROOODIR \
+ ".openoffice.org2/user/wordbook:" \
+ ".openoffice.org2.0/user/wordbook"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080515/e388818c/attachment-0001.htm
More information about the macports-changes
mailing list