Ticket #45223: patch-Portfile-qalculate-kde.diff
File patch-Portfile-qalculate-kde.diff, 2.4 KB (added by NicosPavlov, 10 years ago) |
---|
-
Portfile
1 1 # -*- 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 2 # $Id$ 3 3 4 #Port made obsolete on 2014/09/26 4 5 PortSystem 1.0 5 6 6 7 name qalculate-kde 7 8 version 0.9.7 8 categories math kde kde3 9 platforms darwin 10 license GPL-2 11 maintainers vcn.com:jjstickel 9 revision 1 12 10 13 description Qalculate! is a multi-purpose desktop calculator for GNU/Linux. 11 platforms darwin 12 maintainers nomaintainer 13 supported_archs noarch 14 description this port is only a stub and has been made obsolete 15 default long_description ${description} 14 16 15 long_description \ 16 Qalculate! is a multi-purpose desktop calculator for \ 17 GNU/Linux. It is small and simple to use but with much \ 18 power and versatility underneath. Features include \ 19 customizable functions, units, arbitrary precision, \ 20 plotting, and a user-friendly interface. 17 homepage http://www.macports.org/ 21 18 22 homepage http://qalculate.sourceforge.net/ 23 master_sites sourceforge:qalculate 19 archive_sites 20 distfiles 24 21 25 checksums md5 90104c97894f4775737349ad99428bcf \ 26 sha1 fa0db8a3fb80264328770c4bbcbc0892a4d4ce91 \ 27 rmd160 cd789e07f5b33faf4a834e6693af4d97e17d879b 22 pre-configure { 23 ui_error "KDE3 is considered obsolete, and is being replaced by KDE4. Consequently, ${subport} has been made obsolete" 24 return -code error "obsolete port" 25 } 28 26 29 depends_build path:bin/pkg-config:pkgconfig 30 31 depends_lib port:libqalculate\ 32 port:kdelibs3 33 34 depends_run port:gnuplot 35 36 use_parallel_build yes 37 38 configure.cppflags-append "-L${prefix}/lib" 39 configure.cflags-append "-L${prefix}/lib" 40 configure.env QTDIR=${prefix}/lib/qt3 41 configure.args --with-qt-dir=${prefix}/lib/qt3 \ 42 --with-extra-includes=${prefix}/include \ 43 --without-arts 44 45 post-destroot { 46 file delete ${destroot}${prefix}/bin/qalculate 47 file rename ${destroot}${prefix}/share/doc/HTML ${destroot}${prefix}/share/doc/kde 48 } 27 livecheck.type none