aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-06-22 03:38:25 +0800
committermakc <makc@FreeBSD.org>2009-06-22 03:38:25 +0800
commit89b80029e961172071201a1f8e2f1b48d0bd8ff0 (patch)
tree5aaac730526de8022a56b2e1640df8340f81ba77 /math
parent34cd010abf33fa283047b81d7d689c2dca9ffbc8 (diff)
downloadfreebsd-ports-gnome-89b80029e961172071201a1f8e2f1b48d0bd8ff0.tar.gz
freebsd-ports-gnome-89b80029e961172071201a1f8e2f1b48d0bd8ff0.tar.zst
freebsd-ports-gnome-89b80029e961172071201a1f8e2f1b48d0bd8ff0.zip
1) update MASTER_SITES
2) clean up Makefile 3) respect PREFIX/LOCALBASE 4) install .desktop file to standard place 5) reduce dependencies 6) take maintainership PR: ports/135885 Submitted by: makc (self) Approved by: Andy Fawcett (former maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/abakus/Makefile15
-rw-r--r--math/abakus/files/patch-src__SConscript9
-rw-r--r--math/abakus/pkg-descr5
-rw-r--r--math/abakus/pkg-plist3
4 files changed, 18 insertions, 14 deletions
diff --git a/math/abakus/Makefile b/math/abakus/Makefile
index c5d53f041883..897c7f16f2ef 100644
--- a/math/abakus/Makefile
+++ b/math/abakus/Makefile
@@ -6,26 +6,23 @@
PORTNAME= abakus
PORTVERSION= 0.91
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math kde
-MASTER_SITES= http://grammarian.homelinux.net/abakus/ \
+MASTER_SITES= http://purinchu.net/abakus/ \
http://www.athame.co.uk/mirror/
DISTNAME= ${PORTNAME}-${PORTVERSION}
-MAINTAINER= andy@athame.co.uk
+MAINTAINER= makc@FreeBSD.org
COMMENT= Michael Pyne's Abakus Calculator
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
-USE_BISON= build
-PREFIX= ${LOCALBASE}
+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
-HAS_CONFIGURE= yes
-USE_BZIP2= yes
-PREFIX= ${LOCALBASE}
-
.include <bsd.port.mk>
diff --git a/math/abakus/files/patch-src__SConscript b/math/abakus/files/patch-src__SConscript
new file mode 100644
index 000000000000..9522f9af4d86
--- /dev/null
+++ b/math/abakus/files/patch-src__SConscript
@@ -0,0 +1,9 @@
+--- ./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 fc5fe31a93b5..73c446503409 100644
--- a/math/abakus/pkg-descr
+++ b/math/abakus/pkg-descr
@@ -1,7 +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.
-WWW: http://grammarian.homelinux.net/abakus/
-
-- Andy Fawcett
-andy@athame.co.uk
+WWW: http://purinchu.net/abakus/
diff --git a/math/abakus/pkg-plist b/math/abakus/pkg-plist
index 22824039a254..c112bd6059e5 100644
--- a/math/abakus/pkg-plist
+++ b/math/abakus/pkg-plist
@@ -1,5 +1,5 @@
bin/abakus
-share/applnk/Utilities/abakus.desktop
+share/applications/kde/abakus.desktop
share/apps/abakus/abakusui.rc
share/doc/HTML/en/abakus/abakus-degrees-mode.png
share/doc/HTML/en/abakus/abakus-dnd.png
@@ -14,3 +14,4 @@ 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