Ticket #23188: qalculate-kde_Portfile.diff

File qalculate-kde_Portfile.diff, 1.6 KB (added by jjstickel@…, 14 years ago)
  • math/qalculate-kde/Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 50406 2009-04-30 13:52:31Z takanori@macports.org $
    3 # new JJS 4/3/09
     2# $Id:$
    43
    54PortSystem      1.0
    65
    76name            qalculate-kde
    8 version         0.9.6
     7version         0.9.7
    98categories      math kde kde3
    109platforms       darwin
    1110maintainers     vcn.com:jjstickel
     
    2120
    2221homepage        http://qalculate.sourceforge.net/
    2322master_sites    sourceforge:qalculate
    24 checksums       md5 2d41dc887ad3cf5de29ba4d570de263a
     23
     24checksums           md5     90104c97894f4775737349ad99428bcf \
     25                    sha1    fa0db8a3fb80264328770c4bbcbc0892a4d4ce91 \
     26                    rmd160  cd789e07f5b33faf4a834e6693af4d97e17d879b
    2527
    2628depends_build   path:bin/pkg-config:pkgconfig
    2729
     
    3234
    3335use_parallel_build  yes
    3436
    35 patchfiles      patch-qalculate-kde_0.9.6_macports.diff
    36 
    37 patch.pre_args  -p1
    38 
    3937configure.cppflags-append "-L${prefix}/lib"
    4038configure.cflags-append   "-L${prefix}/lib"
    4139configure.env             QTDIR=${prefix}/lib/qt3
    4240configure.args            --with-qt-dir=${prefix}/lib/qt3 \
    4341                          --with-extra-includes=${prefix}/include \
    4442                          --without-arts
     43
     44post-destroot {
     45    file delete ${destroot}${prefix}/bin/qalculate
     46    file rename ${destroot}${prefix}/share/doc/HTML ${destroot}${prefix}/share/doc/kde
     47}