[56234] trunk/dports/kde
takanori at macports.org
takanori at macports.org
Tue Aug 25 06:56:31 PDT 2009
Revision: 56234
http://trac.macports.org/changeset/56234
Author: takanori at macports.org
Date: 2009-08-25 06:56:30 -0700 (Tue, 25 Aug 2009)
Log Message:
-----------
konversation (KDE3 version)
Added Paths:
-----------
trunk/dports/kde/konversation11/
trunk/dports/kde/konversation11/Portfile
trunk/dports/kde/konversation11/files/
trunk/dports/kde/konversation11/files/CompileScript.sh
trunk/dports/kde/konversation11/files/InstallScript.sh
Added: trunk/dports/kde/konversation11/Portfile
===================================================================
--- trunk/dports/kde/konversation11/Portfile (rev 0)
+++ trunk/dports/kde/konversation11/Portfile 2009-08-25 13:56:30 UTC (rev 56234)
@@ -0,0 +1,75 @@
+# $Id$
+
+PortSystem 1.0
+
+name konversation11
+version 1.1
+revision 1
+set kdeadmin kde-admindir-1024
+categories kde kde3
+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/konversation \
+ 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 konversation-${version}
+distfiles ${distname}.tar.bz2 ${kdeadmin}.tar.bz2:admin
+depends_build port:autoconf263 \
+ port:unsermake
+depends_lib port:kdebase3 \
+ port:doxygen \
+ path:bin/dot:graphviz
+
+checksums ${distname}.tar.bz2 md5 0d38a16747ab4f6549863de385cb551c \
+ ${kdeadmin}.tar.bz2 md5 d99491aa5d520fd1d70393a718019322
+
+extract.only ${distname}.tar.bz2
+post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
+
+patchfiles
+patch {
+ foreach f $patchfiles {
+ system "cd ${worksrcpath} && sed -e 's, at FINKPREFIX@,${prefix},g' ${filespath}/${f} | 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 f {CompileScript.sh InstallScript.sh} {
+ copy ${filespath}/${f} ${worksrcpath}
+ reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
+ reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
+ reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
+ reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
+ reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
+ reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
+ reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
+ file attributes ${worksrcpath}/${f} -permissions 0755
+ }
+}
+
+configure.args --with-distribution='MacPorts/Mac OS X' --without-arts
+
+use_configure no
+
+use_parallel_build yes
+build.env MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
+build.cmd ./CompileScript.sh
+
+destroot.cmd ./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}
+}
Property changes on: trunk/dports/kde/konversation11/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/kde/konversation11/files/CompileScript.sh
===================================================================
--- trunk/dports/kde/konversation11/files/CompileScript.sh (rev 0)
+++ trunk/dports/kde/konversation11/files/CompileScript.sh 2009-08-25 13:56:30 UTC (rev 56234)
@@ -0,0 +1,8 @@
+#!/bin/sh -ev
+
+ export PREFIX="%p" USE_UNSERMAKE=1
+ . ./environment-helper.sh
+
+ ./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
Added: trunk/dports/kde/konversation11/files/InstallScript.sh
===================================================================
--- trunk/dports/kde/konversation11/files/InstallScript.sh (rev 0)
+++ trunk/dports/kde/konversation11/files/InstallScript.sh 2009-08-25 13:56:30 UTC (rev 56234)
@@ -0,0 +1,9 @@
+#!/bin/sh -ev
+
+ export PREFIX="%p" USE_UNSERMAKE=1
+ . ./environment-helper.sh
+
+ ./build-helper.sh install %N %v %r unsermake -p -j1 install DESTDIR=%d LN_S='ln -sf'
+
+ 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/20090825/36c1af45/attachment-0001.html>
More information about the macports-changes
mailing list