Changeset 125955


Ignore:
Timestamp:
Sep 30, 2014, 11:23:25 AM (5 years ago)
Author:
nicos@…
Message:

koffice: made obsolete

Location:
trunk/dports/kde/koffice
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/koffice/Portfile

    r92099 r125955  
    55name            koffice
    66version         1.6.3
    7 revision        4
    8 set kdeadmin    kde-admindir-790
    9 categories      kde kde3
    10 license         GPL-2
    11 maintainers     nomaintainer
    12 description     KDE office suite. \
    13                 NB KDE sound does not work.
    14 long_description ${description}
    15 platforms       darwin
    16 homepage        http://www.koffice.org/
    17 master_sites    kde:stable/${name}-${version}/src/:koffice \
    18                 http://ranger.users.finkproject.org/distfiles/:admin \
    19                 http://ranger.befunk.com/fink/:admin \
    20                 http://astrange.ithinksw.net/~astrange/ranger-fink/:admin \
    21                 http://www.southofheaven.net/befunk/:admin
    22 use_bzip2       yes
    23 distfiles       ${distname}.tar.bz2:koffice \
    24                 ${kdeadmin}.tar.bz2:admin
    25 depends_build   port:autoconf263 \
    26                 port:unsermake
    27 depends_lib     port:kdebase3 \
    28                 port:ImageMagick \
    29                 port:lcms \
    30                 port:libexif \
    31                 port:libwpd \
    32                 path:lib/mysql5:mysql5 \
    33                 port:ruby \
    34                 port:wv2
    35 #               port:python24   can't be found. looking for .so
    36 #               port:postgresql80   can't be found. looking for .so
     7revision        5
    378
    38 checksums       ${distname}.tar.bz2 md5 386d388094734f9759977c3267098e30 \
    39                 ${kdeadmin}.tar.bz2 md5 8a098eeb808331ddf5912f7a8a184dd5
     9platforms        darwin
     10maintainers      nomaintainer
     11supported_archs  noarch
     12description      this port is only a stub and has been made obsolete
     13default long_description ${description}
    4014
    41 extract.only    ${distname}.tar.bz2
    42 post-extract    { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
     15homepage        http://www.macports.org/
    4316
    44 patchfiles      koffice-tiger.patch.bz2 \
    45                 CVE-2007-3387_4352_5392_5393.patch \
    46                 patch-kexi_kexidb_drivers_configure.in.in.diff \
    47                 PNG_MAX_UINT.diff
    48 patch           {
    49                 foreach f $patchfiles {
    50                     if {[regexp "\.bz2$" ${f}]} {
    51                         system "cd ${worksrcpath} && bzip2 -dc ${filespath}/${f} | sed -e 's,@FINKPREFIX@,${prefix},g' | patch -p1"
    52                     } else {
    53                         system "cd ${worksrcpath} && cat ${filespath}/${f} | patch -p1"
    54                     }
    55                 }
    56                 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/*"
    57 }
    58 post-patch      {
    59                 reinplace "s|/lib/freetype219||g" ${worksrcpath}/environment-helper.sh
    60                 reinplace "s|--with-ssl-dir=/usr|--with-ssl-dir=\$PREFIX|g" ${worksrcpath}/environment-helper.sh
    61                 reinplace "s|HOME=/tmp|HOME=${workpath}|g" ${worksrcpath}/environment-helper.sh
    62                 reinplace "s|/tmp/buildlog|${workpath}/buildlog|g" ${worksrcpath}/build-helper.sh
    63                 foreach f {CompileScript.sh InstallScript.sh} {
    64                     copy ${filespath}/${f} ${worksrcpath}
    65                     reinplace "s|%p|${prefix}|g" ${worksrcpath}/${f}
    66                     reinplace "s|%N|${name}|g" ${worksrcpath}/${f}
    67                     reinplace "s|%v|${version}|g" ${worksrcpath}/${f}
    68                     reinplace "s|%r|${revision}|g" ${worksrcpath}/${f}
    69                     reinplace "s|%c|${configure.args}|g" ${worksrcpath}/${f}
    70                     reinplace "s|%d|${destroot}|g" ${worksrcpath}/${f}
    71                     reinplace "s|%i|${destroot}${prefix}|g" ${worksrcpath}/${f}
    72                     reinplace "s|%b|${worksrcpath}|g" ${worksrcpath}/${f}
    73                     file attributes ${worksrcpath}/${f} -permissions 0755
    74                 }
     17archive_sites
     18distfiles
     19
     20pre-configure {
     21    ui_error "KDE3 is considered obsolete, and is being replaced by KDE4. Consequently, ${subport} has been made obsolete"
     22    return -code error "obsolete port"
    7523}
    7624
    77 configure.args --enable-mysql --with-distribution='MacPorts/Mac OS X' --without-arts
    78 # (libpqxx is missing.)
    79 # --enable-pgsql --with-pgsqlincdir=${prefix}/include/pgsql8 --with-pgsqllibdir=${prefix}/lib/pgsql8 --with-pqxx-includes=${prefix}/include --with-pqxx-libraries=${prefix}/lib
    80 
    81 use_configure       no
    82 pre-configure {
    83     if {[file exists ${prefix}/bin/GraphicsMagick-config]} {
    84         return -code error "port:GraphicsMagick prevents building koffice. Please uninstall (or deactivate) GraphicsMagick and restart the build."
    85     }
    86 }
    87 
    88 use_parallel_build  yes
    89 build.env           MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
    90 build.cmd           ./CompileScript.sh
    91 
    92 destroot.cmd        ./InstallScript.sh
    93 post-destroot   {
    94                 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    95                 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB INSTALL README ${destroot}${prefix}/share/doc/${name}
    96 }
    97 
    98 platform darwin 9 {
    99     post-patch {
    100         reinplace "s|CFLAGS=\"-Os -fPIC\"|CFLAGS=\"-Os -fPIC -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib\"|" ${worksrcpath}/environment-helper.sh
    101     }
    102 }
    103 
    104 universal_variant       no
    105 
    106 livecheck.type  none
     25livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.