--- math/abakus/Makefile 2012-06-01 14:21:32.000000000 +0900 +++ math/abakus/Makefile 2012-10-14 19:02:52.000000000 +0900 @@ -1,27 +1,30 @@ -# New ports collection makefile for: abakus -# Date created: 3 January 2005 -# Whom: Andy Fawcett -# +# Created by: Andy Fawcett # $FreeBSD: ports/math/abakus/Makefile,v 1.16 2012/06/01 05:21:32 dinoex Exp $ PORTNAME= abakus -PORTVERSION= 0.91 -PORTREVISION= 10 +PORTVERSION= 0.92 CATEGORIES= math kde -MASTER_SITES= http://purinchu.net/abakus/ \ - http://www.athame.co.uk/mirror/ +MASTER_SITES= http://purinchu.net/abakus/ MAINTAINER= ports@FreeBSD.org -COMMENT= Michael Pyne's Abakus Calculator +COMMENT= Simple KDE Calculator -BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons -LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp +LICENSE= GPLv2 + +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex +LIB_DEPENDS= mpfr:${PORTSDIR}/math/mpfr USE_BZIP2= yes -USE_KDELIBS_VER=3 -HAS_CONFIGURE= yes -CONFIGURE_ARGS= bison=no flex=no prefix=${PREFIX} extraincludes=${LOCALBASE} -_NO_KDE_CONFTARGET_HACK= yes -QT_NONSTANDARD= yes +USE_KDE4= automoc4 kdehier kdelibs kdeprefix +USE_QT4= gui moc_build qmake_build rcc_build uic_build +USE_BISON= build +USE_CMAKE= yes +CMAKE_ARGS= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \ + -DCMAKE_REQUIRED_FLAGS:STRING="${LDFLAGS}" \ + -DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex +INSTALLS_ICONS= yes +MAKE_JOBS_SAFE= yes + +LDFLAGS+= -L${LOCALBASE}/lib .include --- math/abakus/distinfo 2011-03-20 21:49:58.000000000 +0900 +++ math/abakus/distinfo 2012-10-14 15:30:37.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (abakus-0.91.tar.bz2) = 54815bcbb49086d7c5434e33837391845bbccd24a22039f890fb2a721e609381 -SIZE (abakus-0.91.tar.bz2) = 380025 +SHA256 (abakus-0.92.tar.bz2) = 9c873307bdcc8ab06a73de8bbc80fa933bf58ed64d3e1958f46635b61df39c5d +SIZE (abakus-0.92.tar.bz2) = 278710 --- math/abakus/files/patch-src__SConscript 2009-06-22 04:38:25.000000000 +0900 +++ math/abakus/files/patch-src__SConscript 1970-01-01 09:00:00.000000000 +0900 @@ -1,9 +0,0 @@ ---- ./src/SConscript.orig 2005-08-17 07:03:14.000000000 +0400 -+++ ./src/SConscript 2009-06-21 14:26:00.000000000 +0400 -@@ -77,5 +77,5 @@ - ## Warning : there is a difference between the normal destop file used for the menu - ## and the servicetype desktop file, so they go in different directories - ## you will find more information in 'test3' --myenv.KDEinstall( 'KDEMENU', 'Utilities', 'abakus.desktop') -+myenv.KDEinstall( 'KDEXDG', '', 'abakus.desktop') - --- math/abakus/pkg-descr 2009-06-22 04:38:25.000000000 +0900 +++ math/abakus/pkg-descr 2012-10-14 15:28:00.000000000 +0900 @@ -1,4 +1,4 @@ -Abakus is a simple calculator for KDE, based on a concept of Roberto Alsina's. -Think of it as bc (the command-line calculator) with a nice GUI. +Abakus is a simple calculator for KDE, based on a concept of Roberto +Alsina's. Think of it as bc (the command-line calculator) with a nice GUI. -WWW: http://purinchu.net/abakus/ +WWW: http://purinchu.net/abakus/ --- math/abakus/pkg-plist 2009-06-22 04:38:25.000000000 +0900 +++ math/abakus/pkg-plist 2012-10-14 17:52:54.000000000 +0900 @@ -1,17 +1,5 @@ bin/abakus -share/applications/kde/abakus.desktop +share/applications/kde4/abakus.desktop share/apps/abakus/abakusui.rc -share/doc/HTML/en/abakus/abakus-degrees-mode.png -share/doc/HTML/en/abakus/abakus-dnd.png -share/doc/HTML/en/abakus/abakus-result.png -share/doc/HTML/en/abakus/index.cache.bz2 -share/doc/HTML/en/abakus/index.docbook -share/doc/HTML/en/abakus/kcalc-degrees-mode.png -share/doc/HTML/en/abakus/kcalc-fifty.png -share/doc/HTML/en/abakus/kcalc-result.png -share/doc/HTML/en/abakus/kcalc-sine.png -share/doc/HTML/en/abakus/kcalc-three.png share/icons/hicolor/64x64/apps/abakus.png -@dirrm share/doc/HTML/en/abakus @dirrm share/apps/abakus -@dirrmtry share/applications/kde