[55842] trunk/dports/kde/kdelibs3/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Aug 20 02:34:35 PDT 2009
Revision: 55842
http://trac.macports.org/changeset/55842
Author: ryandesign at macports.org
Date: 2009-08-20 02:34:32 -0700 (Thu, 20 Aug 2009)
Log Message:
-----------
kdelibs3: tabs to spaces and other whitespace changes to make it more legible
Modified Paths:
--------------
trunk/dports/kde/kdelibs3/Portfile
Modified: trunk/dports/kde/kdelibs3/Portfile
===================================================================
--- trunk/dports/kde/kdelibs3/Portfile 2009-08-20 08:55:04 UTC (rev 55841)
+++ trunk/dports/kde/kdelibs3/Portfile 2009-08-20 09:34:32 UTC (rev 55842)
@@ -2,127 +2,158 @@
#Synced with Fink, revision 1.32
-PortSystem 1.0
-name kdelibs3
-version 3.5.10
-revision 1
-set kdeadmin kde-admindir-1502
-categories kde kde3
-maintainers nomaintainer
-description Essential libraries for KDE applications. \
- NB No KDE sound support.
-long_description ${description}
-platforms darwin
-homepage http://www.kde.org/
-master_sites kde:stable/${version}/src/:kde \
- 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 kdelibs-${version}
-distfiles ${distname}.tar.bz2:kde \
- ${kdeadmin}.tar.bz2:admin
-dist_subdir kde3
-depends_build port:autoconf \
- port:pkgconfig \
- port:unsermake
-depends_lib lib:libpoll:poll-emulator \
- port:mesa \
- port:aspell \
- port:bzip2 \
- port:expat \
- port:flex \
- port:gettext \
- path:lib/pkgconfig/glib-2.0.pc:glib2 \
- port:hicolor-icon-theme \
- port:jasper \
- port:jpeg \
- port:libart_lgpl \
- port:libidn \
- port:libiconv \
- port:libpng \
- port:libxml2 \
- port:libxslt \
- port:pcre \
- port:tiff \
- port:openexr \
- port:openssl \
- path:bin/perl:perl5 \
- port:qt3 \
- port:zlib
-# port:dbus
-# port:dbus-qt3
-# port:hal
-depends_run port:dejavu-fonts
-# port:shared-mime-info
+PortSystem 1.0
-checksums ${distname}.tar.bz2 md5 43cd55ed15f63b5738d620ef9f9fd568 \
- ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
+name kdelibs3
+version 3.5.10
+revision 1
+set kdeadmin kde-admindir-1502
+categories kde kde3
+maintainers nomaintainer
-extract.only ${distname}.tar.bz2
-post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
+description Essential libraries for KDE applications. \
+ NB No KDE sound support.
-patchfiles kdelibs3-unified.patch macports-x11.patch
-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/*"
+long_description ${description}
+
+platforms darwin
+homepage http://www.kde.org/
+
+master_sites kde:stable/${version}/src/:kde \
+ 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 kdelibs-${version}
+distfiles ${distname}.tar.bz2:kde \
+ ${kdeadmin}.tar.bz2:admin
+dist_subdir kde3
+
+depends_build port:autoconf \
+ port:pkgconfig \
+ port:unsermake
+
+depends_lib lib:libpoll:poll-emulator \
+ port:mesa \
+ port:aspell \
+ port:bzip2 \
+ port:expat \
+ port:flex \
+ port:gettext \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:hicolor-icon-theme \
+ port:jasper \
+ port:jpeg \
+ port:libart_lgpl \
+ port:libidn \
+ port:libiconv \
+ port:libpng \
+ port:libxml2 \
+ port:libxslt \
+ port:pcre \
+ port:tiff \
+ port:openexr \
+ port:openssl \
+ path:bin/perl:perl5 \
+ port:qt3 \
+ port:zlib
+# port:dbus
+# port:dbus-qt3
+# port:hal
+
+depends_run port:dejavu-fonts
+# port:shared-mime-info
+
+checksums ${distname}.tar.bz2 md5 43cd55ed15f63b5738d620ef9f9fd568 \
+ ${kdeadmin}.tar.bz2 md5 92a60282c1d81f38835ce7d495255cc3
+
+extract.only ${distname}.tar.bz2
+
+post-extract {
+ system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -"
}
-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
- }
- foreach f {kdeglobals konsolerc} {
- # Monaco CY is not a standard font in Tiger.
- reinplace "s|Monaco CY|DejaVu Sans Mono|g" ${worksrcpath}/darwin/${f}
- reinplace "s|Baghdad|DejaVu Sans|g" ${worksrcpath}/darwin/${f}
- }
- system "echo \"\[FMSettings\]\nStandardFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0\" > ${worksrcpath}/darwin/kdesktoprc"
+
+patchfiles kdelibs3-unified.patch \
+ macports-x11.patch
+
+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/*"
}
-configure.args --without-lua --enable-cups --with-ldap=framework --with-gssapi=framework --with-distribution='MacPorts/Mac OS X' --without-arts
+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
+ }
+ foreach f {kdeglobals konsolerc} {
+ # Monaco CY is not a standard font in Tiger.
+ reinplace "s|Monaco CY|DejaVu Sans Mono|g" ${worksrcpath}/darwin/${f}
+ reinplace "s|Baghdad|DejaVu Sans|g" ${worksrcpath}/darwin/${f}
+ }
+ system "echo \"\[FMSettings\]\nStandardFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0\" > ${worksrcpath}/darwin/kdesktoprc"
+}
-use_configure no
-use_parallel_build yes
-build { system "cd ${worksrcpath} && MAKEFLAGS=\"-j ${build.jobs}\" ./CompileScript.sh" }
-destroot { system "cd ${worksrcpath} && ./InstallScript.sh" }
+configure.args --without-lua \
+ --enable-cups \
+ --with-ldap=framework \
+ --with-gssapi=framework \
+ --with-distribution='MacPorts/Mac OS X' \
+ --without-arts
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} COPYING COPYING.LIB INSTALL ${destroot}${prefix}/share/doc/${name}
+use_configure no
+
+use_parallel_build yes
+
+build {
+ system "cd ${worksrcpath} && MAKEFLAGS=\"-j ${build.jobs}\" ./CompileScript.sh"
}
+destroot {
+ system "cd ${worksrcpath} && ./InstallScript.sh"
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} COPYING COPYING.LIB INSTALL ${destroot}${prefix}/share/doc/${name}
+}
+
platform darwin 9 {}
platform darwin 8 {}
platform darwin 7 {}
-universal_variant no
+universal_variant no
variant with_doxygen description {Include API documentation} {
- depends_lib-append port:doxygen
- post-patch { foreach f {CompileScript.sh InstallScript.sh} { reinplace "s|#apidox#||g" ${worksrcpath}/${f} }}
+ depends_lib-append port:doxygen
+ post-patch {
+ foreach f {CompileScript.sh InstallScript.sh} {
+ reinplace "s|#apidox#||g" ${worksrcpath}/${f}
+ }
+ }
}
variant with_libthai description {Add Thai language support} {
- depends_lib-append port:libdatrie \
- port:libthai
- configure.args-append --with-libthai=yes
+ depends_lib-append port:libdatrie \
+ port:libthai
+ configure.args-append --with-libthai=yes
}
-livecheck.check none
+livecheck.check none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090820/13703691/attachment-0001.html>
More information about the macports-changes
mailing list