Revision
74164
Author
jochen@macports.org
Date
2010-12-06 07:28:59 -0800 (Mon, 06 Dec 2010)

Log Message

add ispell variant
Declaration of conflict with port:ispell is missing.

Modified Paths

Diff

Modified: trunk/dports/textproc/aspell/Portfile (74163 => 74164)


--- trunk/dports/textproc/aspell/Portfile	2010-12-06 15:25:41 UTC (rev 74163)
+++ trunk/dports/textproc/aspell/Portfile	2010-12-06 15:28:59 UTC (rev 74164)
@@ -5,7 +5,7 @@
 
 name		        	aspell
 version		            0.60.6
-revision                3
+revision                4
 categories	            textproc
 maintainers	            openmaintainer jochen
 description	            Spell checker with better logic than ispell
@@ -41,6 +41,9 @@
     file copy ${filespath}/u-deva.cmap ${destroot}${prefix}/lib/aspell-0.60/
     file copy ${filespath}/u-deva.cset ${destroot}${prefix}/lib/aspell-0.60/
 	file delete -force ${destroot}${prefix}/share/info/dir
+    if {[variant_isset ispell]} {
+        file copy ${worksrcpath}/scripts/ispell ${destroot}${prefix}/bin/ispell
+    }
 }
 
 post-activate {
@@ -62,6 +65,9 @@
     configure.args-append --disable-nls
 }
 
+variant ispell description {Install ispell emulation script} {
+}
+
 platform macosx {
 # gnustep-gui uses aspell and will not work if aspell is linked to gettext because
 # gettext is linked to CoreFoundation which is itself linked to the Apple objc runtime