[39461] trunk/dports/kde/konversation/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Wed Aug 20 20:12:15 PDT 2008


Revision: 39461
          http://trac.macosforge.org/projects/macports/changeset/39461
Author:   macsforever2000 at macports.org
Date:     2008-08-20 20:12:15 -0700 (Wed, 20 Aug 2008)
Log Message:
-----------
spacing and cosmetic improvements. remove tabs.

Modified Paths:
--------------
    trunk/dports/kde/konversation/Portfile

Modified: trunk/dports/kde/konversation/Portfile
===================================================================
--- trunk/dports/kde/konversation/Portfile	2008-08-20 21:00:50 UTC (rev 39460)
+++ trunk/dports/kde/konversation/Portfile	2008-08-21 03:12:15 UTC (rev 39461)
@@ -2,74 +2,76 @@
 
 #Synced with Fink, Version 1.0.1-1023
 
-PortSystem 1.0
-name		konversation
-version		1.0.1
-revision	2
-set kdeadmin	kde-admindir-1024
-categories	kde
-maintainers	nomaintainer
-description	KDE IRC client.\
-		NB No KDE sound support.
+PortSystem       1.0
+
+name             konversation
+version          1.0.1
+set kdeadmin     kde-admindir-1024
+categories       kde
+maintainers      nomaintainer
+description      KDE IRC client.\
+                 NB No KDE sound support.
 long_description ${description}
-platforms	darwin
-homepage	http://konversation.kde.org/
-master_sites	http://download.berlios.de/${name} \
-		http://ranger.users.finkproject.org/distfiles/kde-admindir/:admin \
-		http://ranger.befunk.com/fink/kde-admindir/:admin \
-		http://astrange.ithinksw.net/~astrange/ranger-fink/kde-admindir/:admin \
-		http://www.southofheaven.net/befunk/kde-admindir/:admin
-use_bzip2	yes
-distname	${name}-${version}
-distfiles	${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
-depends_build	port:autoconf \
-		port:unsermake
-depends_lib	port:kdebase3 \
-		port:doxygen \
-		path:${prefix}/bin/dot:graphviz
+platforms        darwin
+homepage         http://konversation.kde.org/
+master_sites     http://download.berlios.de/${name} \
+                 http://ranger.users.finkproject.org/distfiles/kde-admindir/:admin \
+                 http://ranger.befunk.com/fink/kde-admindir/:admin \
+                 http://astrange.ithinksw.net/~astrange/ranger-fink/kde-admindir/:admin \
+                 http://www.southofheaven.net/befunk/kde-admindir/:admin
+use_bzip2        yes
+distname         ${name}-${version}
+distfiles        ${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
+depends_build    port:autoconf \
+                 port:unsermake
+depends_lib      port:kdebase3 \
+                 port:doxygen \
+                 path:${prefix}/bin/dot:graphviz
 
-checksums	${distname}.tar.bz2 md5 60c2c5f94d4a916055db09728304b19f \
-		${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322
+checksums        ${distname}.tar.bz2 md5 60c2c5f94d4a916055db09728304b19f \
+                 ${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322
 
-extract.only	${distname}.tar.bz2
-post-extract	{ system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
+extract.only     ${distname}.tar.bz2
+post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
 
-patchfiles	
-patch		{
-		foreach file $patchfiles {
-			system "cd ${worksrcpath} && sed -e 's, at FINKPREFIX@,${prefix},g' ${filespath}/${file} | patch -p1"
-		}
-		system "perl -pi -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; s,/usr/share/doc/packages/qt3/html,${prefix}/share/doc/qt3/html,g;' ${worksrcpath}/admin/*"
-		system "echo \"KDE_ENABLE_HIDDEN_VISIBILITY\" >> ${worksrcpath}/configure.in.in"
+patchfiles
+patch       {
+        foreach file $patchfiles {
+            system "cd ${worksrcpath} && sed -e 's, at FINKPREFIX@,${prefix},g' ${filespath}/${file} | patch -p1"
+        }
+        system "perl -pi -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; s,/usr/share/doc/packages/qt3/html,${prefix}/share/doc/qt3/html,g;' ${worksrcpath}/admin/*"
+        system "echo \"KDE_ENABLE_HIDDEN_VISIBILITY\" >> ${worksrcpath}/configure.in.in"
 }
 
 post-patch      {
-		reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
-		reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
-		reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
-		reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
-		foreach file {CompileScript.sh InstallScript.sh} {
-		    file copy ${filespath}/${file} ${worksrcpath}
-		    reinplace "s|%p|${prefix}|g" ${worksrcpath}/${file}
-		    reinplace "s|%N|${name}|g" ${worksrcpath}/${file}
-		    reinplace "s|%v|${version}|g" ${worksrcpath}/${file}
-		    reinplace "s|%r|${revision}|g" ${worksrcpath}/${file}
-		    reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${file}
-		    reinplace "s|%d|${destroot}|g" ${worksrcpath}/${file}
-		    reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${file}
-		    file attributes ${worksrcpath}/${file} -permissions 0755
-		}
+        reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
+        reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
+        reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
+        reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
+        foreach file {CompileScript.sh InstallScript.sh} {
+            file copy ${filespath}/${file} ${worksrcpath}
+            reinplace "s|%p|${prefix}|g" ${worksrcpath}/${file}
+            reinplace "s|%N|${name}|g" ${worksrcpath}/${file}
+            reinplace "s|%v|${version}|g" ${worksrcpath}/${file}
+            reinplace "s|%r|${revision}|g" ${worksrcpath}/${file}
+            reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${file}
+            reinplace "s|%d|${destroot}|g" ${worksrcpath}/${file}
+            reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${file}
+            file attributes ${worksrcpath}/${file} -permissions 0755
+        }
 }
 
-configure.args	--with-distribution='MacPorts/Mac OS X' --without-arts
+configure.args  --with-distribution='MacPorts/Mac OS X' --without-arts
 
-configure	{}
+use_configure       no
 use_parallel_build  yes
+
 build           { set makejobs [build_getmakejobs]
                   system "cd ${worksrcpath} && MAKEFLAGS=\"${makejobs}\" ./CompileScript.sh" }
-destroot	{ system "cd ${worksrcpath} && ./InstallScript.sh" }
 
-post-destroot	{
-		xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-		xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README TODO ${destroot}${prefix}/share/doc/${name}
+destroot    { system "cd ${worksrcpath} && ./InstallScript.sh" }
+
+post-destroot   {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README TODO ${destroot}${prefix}/share/doc/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080820/c48824ee/attachment.html 


More information about the macports-changes mailing list