[20202] trunk/dports/kde/konversation

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 27 11:31:23 PDT 2006


Revision: 20202
          http://trac.macosforge.org/projects/macports/changeset/20202
Author:   takanori at macports.org
Date:     2006-10-27 11:31:23 -0700 (Fri, 27 Oct 2006)

Log Message:
-----------
Synced with Fink, Version 0.19-1025.

Modified Paths:
--------------
    trunk/dports/kde/konversation/Portfile
    trunk/dports/kde/konversation/files/CompileScript.sh
    trunk/dports/kde/konversation/files/InstallScript.sh

Modified: trunk/dports/kde/konversation/Portfile
===================================================================
--- trunk/dports/kde/konversation/Portfile	2006-10-27 18:30:52 UTC (rev 20201)
+++ trunk/dports/kde/konversation/Portfile	2006-10-27 18:31:23 UTC (rev 20202)
@@ -1,48 +1,55 @@
 # $Id: Portfile,v 1.3 2006/08/06 04:23:49 takanori Exp $
 
-#Synced with Fink, Version 0.19-1024
+#Synced with Fink, Version 0.19-1025
 
 PortSystem 1.0
 name		konversation
 version		0.19
-revision	1
-set kdeadmin	kde-admindir-3.5.1
+revision	2
+set kdeadmin	kde-admindir-full-3.5.3
 categories	kde
 maintainers	ben at macports.org
 description	KDE IRC client.\
-                NB No KDE sound support.
+		NB No KDE sound support.
+long_description ${description}
 platforms	darwin
+homepage	http://konversation.kde.org/
 master_sites	http://download.berlios.de/${name} \
 		opendarwin::admin
 #		http://ranger.befunk.com/fink/:admin
-extract.suffix	.tar.bz2
 use_bzip2	yes
 distname	${name}-${version}
 distfiles	${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
 depends_build	port:autoconf \
-		port:automake
+		port:unsermake
 depends_lib	port:kdebase3 \
 		port:doxygen \
 		port:graphviz
 
 checksums	${distname}.tar.bz2 md5 2194967b21276315a29258ccc557c429 \
-		${kdeadmin}.tar.bz2 md5 b6115a7310f8e8533af91be02e225d0e
+		${kdeadmin}.tar.bz2 md5 59748e0b77d08e88d5f785b4b2672cc0
 
-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		{
+		cd ${worksrcpath}
+		foreach file $patchfiles {
+			system "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;' admin/*"
+		system "echo \"KDE_ENABLE_HIDDEN_VISIBILITY\" >> configure.in.in"
+		system "perl -pi -e 's,(Autoconf.*)\\),\\1 | *Autoconf*2.6* \\),g' admin/cvs.sh"
+}
+
 post-patch      {
-		reinplace "s|lib/freetype219/||g" ${worksrcpath}/environment-helper.sh
-		reinplace "s|include/qt|include/qt3|g" ${worksrcpath}/environment-helper.sh
+		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|2.5\\*|2.\[56\]\\*|g" ${worksrcpath}/admin/cvs.sh
-		foreach file [glob ${worksrcpath}/admin/*] {
-		    reinplace "s|-O2|-Os|g" $file
-		    reinplace "s|doc/HTML|doc/kde|g" $file
-		    reinplace "s|/usr/share/doc/packages/qt3/html|${prefix}/share/doc/qt3/html|g" $file
-		}
+		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 ${portpath}/${filesdir}/${file} ${worksrcpath}
+		    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}
@@ -54,17 +61,13 @@
 		}
 }
 
-configure.args	--with-distribution='DarwinPorts/Mac OS X' --without-arts
+configure.args	--with-distribution='MacPorts/Mac OS X' --without-arts
 
 configure	{}
 build		{ system "cd ${worksrcpath} && ./CompileScript.sh" }
 destroot	{ system "cd ${worksrcpath} && ./InstallScript.sh" }
 
-post-destroot   {
+post-destroot	{
 		xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-		xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README ${destroot}${prefix}/share/doc/${name}
+		xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL README TODO ${destroot}${prefix}/share/doc/${name}
 }
-
-platform darwin 6 {
-	depends_lib-append	lib:libdl:dlcompat
-}

Modified: trunk/dports/kde/konversation/files/CompileScript.sh
===================================================================
--- trunk/dports/kde/konversation/files/CompileScript.sh	2006-10-27 18:30:52 UTC (rev 20201)
+++ trunk/dports/kde/konversation/files/CompileScript.sh	2006-10-27 18:31:23 UTC (rev 20202)
@@ -1,14 +1,8 @@
 #!/bin/sh -e
 
-  export HOME=/tmp
-  export EH_PREFIX="%p"
-  . ./environment-helper.sh
+        export PREFIX="%p" USE_UNSERMAKE=1
+        . ./environment-helper.sh
 
-#darwinports
-  export UNSERMAKE="no"
-
-  export CC=gcc CXX=g++
-
-  ./build-helper.sh cvs       %N %v %r make -f admin/Makefile.common cvs
-  ./build-helper.sh configure %N %v %r ./configure %c $CONFIGURE_PARAMS
-  ./build-helper.sh make      %N %v %r make all all_libraries="$ALL_LIBRARIES"
+        ./build-helper.sh cvs       %N %v %r make -f admin/Makefile.common cvs
+        ./build-helper.sh configure %N %v %r ./configure %c $CONFIGURE_PARAMS
+        ./build-helper.sh make      %N %v %r unsermake $UNSERMAKEFLAGS

Modified: trunk/dports/kde/konversation/files/InstallScript.sh
===================================================================
--- trunk/dports/kde/konversation/files/InstallScript.sh	2006-10-27 18:30:52 UTC (rev 20201)
+++ trunk/dports/kde/konversation/files/InstallScript.sh	2006-10-27 18:31:23 UTC (rev 20202)
@@ -1,15 +1,12 @@
 #!/bin/sh -e
 
-  export PREFIX="%p"
-  . ./environment-helper.sh
+        export PREFIX="%p" USE_UNSERMAKE=1
+        . ./environment-helper.sh
 
-#darwinports
-  export UNSERMAKE="no"
+        ./build-helper.sh install %N %v %r unsermake -p -j1 install DESTDIR=%d LN_S='ln -sf'
 
-  ./build-helper.sh install %N %v %r make -j1 install DESTDIR=%d
+        [ -f %i/share/services/irc.protocol  ] && mv %i/share/services/irc.protocol  %i/share/services/konvirc.protocol
+        [ -f %i/share/services/irc6.protocol ] && mv %i/share/services/irc6.protocol %i/share/services/konvirc6.protocol
 
-  [ -f %i/share/services/irc.protocol  ] && mv %i/share/services/irc.protocol  %i/share/services/konvirc.protocol
-  [ -f %i/share/services/irc6.protocol ] && mv %i/share/services/irc6.protocol %i/share/services/konvirc6.protocol
-
-  mkdir -p %i/share/doc/installed-packages
-  touch %i/share/doc/installed-packages/%N
+        mkdir -p %i/share/doc/installed-packages
+        touch %i/share/doc/installed-packages/%N

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


More information about the macports-changes mailing list