summaryrefslogtreecommitdiffstats
path: root/math/gcalctool
diff options
context:
space:
mode:
Diffstat (limited to 'math/gcalctool')
-rw-r--r--math/gcalctool/Makefile6
-rw-r--r--math/gcalctool/distinfo2
-rw-r--r--math/gcalctool/pkg-plist3
3 files changed, 7 insertions, 4 deletions
diff --git a/math/gcalctool/Makefile b/math/gcalctool/Makefile
index 7b0cd02..532ea5f 100644
--- a/math/gcalctool/Makefile
+++ b/math/gcalctool/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcalctool
-PORTVERSION= 4.2.83
+PORTVERSION= 4.2.86
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/4.2
@@ -22,12 +22,12 @@ USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
+ @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
.include <bsd.port.mk>
diff --git a/math/gcalctool/distinfo b/math/gcalctool/distinfo
index d9babac..50deae7 100644
--- a/math/gcalctool/distinfo
+++ b/math/gcalctool/distinfo
@@ -1 +1 @@
-MD5 (gnome2/gcalctool-4.2.83.tar.bz2) = cfb03eb5e0fee4813eb72b3b04e1feca
+MD5 (gnome2/gcalctool-4.2.86.tar.bz2) = e9e11b46a3ff83da25a782ce4fd5d3f7
diff --git a/math/gcalctool/pkg-plist b/math/gcalctool/pkg-plist
index c69bbd4..6327e59 100644
--- a/math/gcalctool/pkg-plist
+++ b/math/gcalctool/pkg-plist
@@ -1,3 +1,4 @@
+@unexec if test -L %D/bin/gnome-calculator; then rm -f %D/bin/gnome-calculator; fi
bin/gcalctool
etc/gconf/gconf.xml.defaults/apps/gcalctool/%gconf.xml
etc/gconf/gconf.xml.defaults/schemas/apps/gcalctool/%gconf.xml
@@ -23,6 +24,8 @@ share/locale/nl/LC_MESSAGES/gcalctool.mo
share/locale/no/LC_MESSAGES/gcalctool.mo
share/locale/pt/LC_MESSAGES/gcalctool.mo
share/locale/pt_BR/LC_MESSAGES/gcalctool.mo
+share/locale/sr/LC_MESSAGES/gcalctool.mo
+share/locale/sr@Latn/LC_MESSAGES/gcalctool.mo
share/locale/sv/LC_MESSAGES/gcalctool.mo
share/locale/uk/LC_MESSAGES/gcalctool.mo
share/locale/zh_TW/LC_MESSAGES/gcalctool.mo
OpenPOWER on IntegriCloud