aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/gliv/Makefile8
-rw-r--r--graphics/gliv/distinfo5
-rw-r--r--graphics/gliv/pkg-plist1
3 files changed, 10 insertions, 4 deletions
diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile
index cbe2cf33737d..0509cca89e1f 100644
--- a/graphics/gliv/Makefile
+++ b/graphics/gliv/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gliv
-PORTVERSION= 1.9.3
-PORTREVISION= 1
+PORTVERSION= 1.9.4
CATEGORIES= graphics
MASTER_SITES= http://guichaz.free.fr/gliv/
@@ -21,6 +20,7 @@ USE_X_PREFIX= yes
USE_GL= yes
USE_GETOPT_LONG= yes
USE_GNOME= gnomehack gnomeprefix gnometarget gtk20
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -33,6 +33,10 @@ MANLANG= "" de fr ru
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
+post-patch:
+ @${REINPLACE_CMD} -e 's|"stdio\.h"|<getdelim.h>|g ; \
+ s|"stdlib\.h"|<stdlib.h>|g' ${WRKSRC}/lib/getdelim.c
+
post-install:
${INSTALL_DATA} ${WRKSRC}/gliv.desktop \
${PREFIX}/share/gnome/applications
diff --git a/graphics/gliv/distinfo b/graphics/gliv/distinfo
index 5162915af1bc..82ddf12ec978 100644
--- a/graphics/gliv/distinfo
+++ b/graphics/gliv/distinfo
@@ -1,2 +1,3 @@
-MD5 (gliv-1.9.3.tar.bz2) = 3840a547cdc679c5a592d30040b9f6b5
-SIZE (gliv-1.9.3.tar.bz2) = 468387
+MD5 (gliv-1.9.4.tar.bz2) = 757d5bd6d6c5b7b863bb7ffa96fc9b5c
+SHA256 (gliv-1.9.4.tar.bz2) = 4803b06fecf6f416e03f8846123c20248be8ab826fa0f8fa0953c27995daacbb
+SIZE (gliv-1.9.4.tar.bz2) = 495279
diff --git a/graphics/gliv/pkg-plist b/graphics/gliv/pkg-plist
index 73686618bfbf..76a130926b2a 100644
--- a/graphics/gliv/pkg-plist
+++ b/graphics/gliv/pkg-plist
@@ -1,6 +1,7 @@
bin/gliv
share/gnome/applications/gliv.desktop
share/gnome/pixmaps/gliv.png
+share/locale/bg/LC_MESSAGES/gliv.mo
share/locale/de/LC_MESSAGES/gliv.mo
share/locale/fr/LC_MESSAGES/gliv.mo
share/locale/nl/LC_MESSAGES/gliv.mo