aboutsummaryrefslogtreecommitdiff
path: root/math/abakus
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2012-11-08 22:56:38 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2012-11-08 22:56:38 +0000
commit5c46e5fe2b8926f8e67d1cc1a2b11d6b883d8363 (patch)
treee232b94a5a67e1a71ad434dcbed52cd49a4bc55f /math/abakus
parent380d0a198e8177c13652e9ef1a6403eac0bec2a7 (diff)
downloadports-5c46e5fe2b8926f8e67d1cc1a2b11d6b883d8363.tar.gz
ports-5c46e5fe2b8926f8e67d1cc1a2b11d6b883d8363.zip
- Update to 0.92 for KDE 4
- Reformat description - Trim Makefile header PR: ports/172723 Submitted by: KATO Tsuguru <tkato432 at yahoo.com> Feature safe: yes
Notes
Notes: svn path=/head/; revision=307215
Diffstat (limited to 'math/abakus')
-rw-r--r--math/abakus/Makefile34
-rw-r--r--math/abakus/distinfo4
-rw-r--r--math/abakus/files/patch-src__SConscript9
-rw-r--r--math/abakus/pkg-descr6
-rw-r--r--math/abakus/pkg-plist14
5 files changed, 24 insertions, 43 deletions
diff --git a/math/abakus/Makefile b/math/abakus/Makefile
index 568aff55db28..bddc908ec39e 100644
--- a/math/abakus/Makefile
+++ b/math/abakus/Makefile
@@ -1,27 +1,29 @@
-# New ports collection makefile for: abakus
-# Date created: 3 January 2005
-# Whom: Andy Fawcett <andy@athame.co.uk>
-#
+# Created by: Andy Fawcett <andy@athame.co.uk>
# $FreeBSD$
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= 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
+MAKE_JOBS_SAFE= yes
+
+LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>
diff --git a/math/abakus/distinfo b/math/abakus/distinfo
index ad309428229c..4773e163cd36 100644
--- a/math/abakus/distinfo
+++ b/math/abakus/distinfo
@@ -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
diff --git a/math/abakus/files/patch-src__SConscript b/math/abakus/files/patch-src__SConscript
deleted file mode 100644
index 9522f9af4d86..000000000000
--- a/math/abakus/files/patch-src__SConscript
+++ /dev/null
@@ -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')
-
diff --git a/math/abakus/pkg-descr b/math/abakus/pkg-descr
index 73c446503409..df6b7d186a4a 100644
--- a/math/abakus/pkg-descr
+++ b/math/abakus/pkg-descr
@@ -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/
diff --git a/math/abakus/pkg-plist b/math/abakus/pkg-plist
index c112bd6059e5..6b7ceb3a1a49 100644
--- a/math/abakus/pkg-plist
+++ b/math/abakus/pkg-plist
@@ -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