[20192] trunk/dports/kde/kdeaddons3

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


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

Log Message:
-----------
Version 3.5.4.

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

Modified: trunk/dports/kde/kdeaddons3/Portfile
===================================================================
--- trunk/dports/kde/kdeaddons3/Portfile	2006-10-27 18:23:13 UTC (rev 20191)
+++ trunk/dports/kde/kdeaddons3/Portfile	2006-10-27 18:23:19 UTC (rev 20192)
@@ -1,58 +1,56 @@
 # $Id$
 
-#Synced with Fink, Version 3.5.1-1023
+#Synced with Fink, Version 3.5.4-1021
 
 PortSystem 1.0
 name		kdeaddons3
-version		3.5.1
-revision	2
-set kdeadmin	kde-admindir-3.5.1
+version		3.5.4
+set kdeadmin	kde-admindir-252
 categories	kde
 maintainers	ben at macports.org takanori at macports.org
 description	KDE addons. \
 		NB No KDE sound support.
+long_description ${description}
 platforms	darwin
-master_sites	opendarwin::kde351 \
+homepage	http://www.kde.org/
+master_sites	opendarwin::kde354 \
 		opendarwin::admin
 #		kde:stable/${version}/src
 #		http://ranger.befunk.com/fink/:admin
-extract.suffix	.tar.bz2
 use_bzip2	yes
 distname	kdeaddons-${version}
-distfiles	${distname}.tar.bz2:kde351 \
+distfiles	${distname}.tar.bz2:kde354 \
 		${kdeadmin}.tar.bz2:admin
 depends_build	port:autoconf \
-		port:automake
-depends_lib	port:kdebase3 \
+		port:unsermake
+depends_lib	port:doxygen \
+		port:kdebase3 \
 		port:kdegames3 \
-		port:libsdl \
-		port:doxygen
+		port:kdepim3
+#		port:gtk1
+#		port:libsdl
 
-checksums	${distname}.tar.bz2 md5 cbd2a6f65ae7338736d93b72bfdf5ae3 \
-		${kdeadmin}.tar.bz2 md5 b6115a7310f8e8533af91be02e225d0e
+checksums	${distname}.tar.bz2 md5 840d18fbcadec9f94bb70563876b4dcd \
+		${kdeadmin}.tar.bz2 md5 54a89925e71bd32f759c81b312ad0b9e
 
-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	kdeaddons3.patch
 patch		{
 		cd ${worksrcpath}
 		foreach file $patchfiles {
-		    system "sed -e 's, at FINKPREFIX@,${prefix},g' ${portpath}/${filesdir}/${file} | patch -p1"
+		    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/*"
 }
-post-patch      {
-		reinplace "s|lib/freetype219/||g" ${worksrcpath}/environment-helper.sh
-		reinplace "s|include/qt|include/qt3|g" ${worksrcpath}/environment-helper.sh
+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|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}
@@ -64,17 +62,13 @@
 		}
 }
 
-configure.args	--with-sdl-prefix=${prefix} --disable-sdltest --with-distribution='DarwinPorts/Mac OS X' --without-arts
+configure.args	--with-sdl-prefix=${prefix} --disable-sdltest --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} README ${destroot}${prefix}/share/doc/${name}
 }
-
-platform darwin 6 {
-	depends_lib-append	lib:libdl:dlcompat
-}

Modified: trunk/dports/kde/kdeaddons3/files/CompileScript.sh
===================================================================
--- trunk/dports/kde/kdeaddons3/files/CompileScript.sh	2006-10-27 18:23:13 UTC (rev 20191)
+++ trunk/dports/kde/kdeaddons3/files/CompileScript.sh	2006-10-27 18:23:19 UTC (rev 20192)
@@ -1,14 +1,10 @@
 #!/bin/sh -e
 
-        export HOME=/tmp PREFIX="%p" QTDOCDIR="%p/share/doc/qt3/html"
+        export PREFIX="%p" USE_UNSERMAKE=1
         . ./environment-helper.sh
-        export lt_cv_sys_max_cmd_len=65536
 
-#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 make      %N %v %r unsermake $UNSERMAKEFLAGS

Modified: trunk/dports/kde/kdeaddons3/files/InstallScript.sh
===================================================================
--- trunk/dports/kde/kdeaddons3/files/InstallScript.sh	2006-10-27 18:23:13 UTC (rev 20191)
+++ trunk/dports/kde/kdeaddons3/files/InstallScript.sh	2006-10-27 18:23:19 UTC (rev 20192)
@@ -1,13 +1,10 @@
 #!/bin/sh -e
 
-        export HOME=/tmp PREFIX="%p" QTDOCDIR="%p/share/doc/qt3/html"
+        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
 
-        ./build-helper.sh install %N %v %r make -j1 install DESTDIR=%d
-
         mkdir -p %i/share/doc/installed-packages
         touch %i/share/doc/installed-packages/%N
         touch %i/share/doc/installed-packages/%N-base

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


More information about the macports-changes mailing list