[22875] trunk/dports/news/slrn-devel/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Mar 17 07:29:58 PDT 2007


Revision: 22875
          http://trac.macosforge.org/projects/macports/changeset/22875
Author:   pipping at macports.org
Date:     2007-03-17 07:29:57 -0700 (Sat, 17 Mar 2007)

Log Message:
-----------
 * fix manpath
 * cleanup pre-configure

Modified Paths:
--------------
    trunk/dports/news/slrn-devel/Portfile

Modified: trunk/dports/news/slrn-devel/Portfile
===================================================================
--- trunk/dports/news/slrn-devel/Portfile	2007-03-17 13:55:44 UTC (rev 22874)
+++ trunk/dports/news/slrn-devel/Portfile	2007-03-17 14:29:57 UTC (rev 22875)
@@ -25,18 +25,17 @@
 depends_lib		port:slang2 \
 			port:libiconv
 
-
 # Works for tiger (automake-1.6)
-pre-configure		{ 
-			system "cd ${worksrcpath}/autoconf; rm config.guess config.sub depcomp install-sh missing"
-			system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/config.guess config.guess" 
-			system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/config.sub config.sub" 
-			system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/depcomp depcomp" 
-			system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/install-sh install-sh" 
-			system "cd ${worksrcpath}/autoconf; ln -s /usr/share/automake-1.6/missing missing" 
-			}
+pre-configure {
+	cd ${worksrcpath}/autoconf
+	foreach f {config.guess config.sub depcomp install-sh missing} {
+		delete ${f}
+		file link ${f} /usr/share/automake-1.6/${f}
+	}
+}
 
-configure.args		--with-libiconv-prefix=${prefix} 
+configure.args		--with-libiconv-prefix=${prefix} \
+			--mandir=${prefix}/share/man
 
 # adds slrnpull
 variant	pull		{ configure.args-append	--with-slrnpull }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070317/dd953a1e/attachment.html


More information about the macports-changes mailing list