--- Portfile.old	2008-05-12 15:38:52.000000000 -0400
+++ Portfile	2008-05-13 09:36:03.000000000 -0400
@@ -1,9 +1,9 @@
-# $Id: Portfile 30573 2007-10-31 10:43:39Z ryandesign@macports.org $
+# $Id: $
 
 PortSystem 1.0
 name		larn
-version             4.6.2
-revision            4
+version     12
+revision    0
 categories	games
 maintainers	aschenke@tampabay.rr.com
 description	Text-based cavern exploring game
@@ -12,7 +12,7 @@
 platforms	darwin
 use_bzip2	yes
 master_sites	http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/
-distname            ${name}-${version}-RELEASE
+distname            ${name}-4.6.2-RELEASE
 checksums	md5 cea96f48caa057793f6bcaf3394ca388
 build.type	bsd
 build.args	LDADD+=-L${prefix}/lib\\ -lcompat\\ -lcurses
@@ -32,6 +32,11 @@
 
 depends_lib port:libcompat
 
+platform darwin 9   {
+                        build.args  LDADD+=-L${prefix}/lib\\ -lcurses
+                        depends_lib-delete port:libcompat
+                    }
+
 configure           { 
                         reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
                         reinplace "s|/usr/share/games|${prefix}/share|g" ${worksrcpath}/pathnames.h
