aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gxmessage
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2010-10-05 07:09:30 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2010-10-05 07:09:30 +0000
commite7780563b75b9f76f0003edefd981fd7f45ef20b (patch)
treef6358f762b595b8becac4ae9f947da44a291c21c /deskutils/gxmessage
parentfe9dc20c2a10bcfc52c096c77fedd4d3e11e72de (diff)
downloadports-e7780563b75b9f76f0003edefd981fd7f45ef20b.tar.gz
ports-e7780563b75b9f76f0003edefd981fd7f45ef20b.zip
Notes
Diffstat (limited to 'deskutils/gxmessage')
-rw-r--r--deskutils/gxmessage/Makefile19
-rw-r--r--deskutils/gxmessage/distinfo6
-rw-r--r--deskutils/gxmessage/files/patch-po-Makefile.in.in11
-rw-r--r--deskutils/gxmessage/pkg-plist11
4 files changed, 39 insertions, 8 deletions
diff --git a/deskutils/gxmessage/Makefile b/deskutils/gxmessage/Makefile
index 96c4b57d5ef0..6e03c0ce0a26 100644
--- a/deskutils/gxmessage/Makefile
+++ b/deskutils/gxmessage/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= gxmessage
-PORTVERSION= 2.6.2
-PORTREVISION= 3
+PORTVERSION= 2.12.4
CATEGORIES= deskutils
-MASTER_SITES= http://homepages.ihug.co.nz/~trmusson/stuff/
+MASTER_SITES= http://homepages.ihug.co.nz/~trmusson/stuff/ \
+ LOCAL/martymac
MAINTAINER= avg@icyb.net.ua
COMMENT= GTK2 substitute for xmessage
@@ -17,12 +17,21 @@ COMMENT= GTK2 substitute for xmessage
USE_GNOME= gtk20 gnomeprefix
USE_GMAKE= yes
GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
MANCOMPRESSED= no
MAN1= gxmessage.1
-PLIST_FILES= bin/gxmessage \
- share/pixmaps/gxmessage.png
+INFO= ${PORTNAME}
.include <bsd.port.mk>
diff --git a/deskutils/gxmessage/distinfo b/deskutils/gxmessage/distinfo
index 4be6149c0bfb..0f4c6c184f3a 100644
--- a/deskutils/gxmessage/distinfo
+++ b/deskutils/gxmessage/distinfo
@@ -1,3 +1,3 @@
-MD5 (gxmessage-2.6.2.tar.gz) = 429c49006d2e1c2075f89f612b892b4f
-SHA256 (gxmessage-2.6.2.tar.gz) = 4729132117d4ac7b04d148826f578af7acf4a8edd49b12450ce512079c9a7ac7
-SIZE (gxmessage-2.6.2.tar.gz) = 88104
+MD5 (gxmessage-2.12.4.tar.gz) = 7c94c714ebedbfa2db2d645cc4a4092a
+SHA256 (gxmessage-2.12.4.tar.gz) = ebfaefd01483c43eadda004b75d493bc8dcc016076f6a48f97774364bbe30c87
+SIZE (gxmessage-2.12.4.tar.gz) = 248034
diff --git a/deskutils/gxmessage/files/patch-po-Makefile.in.in b/deskutils/gxmessage/files/patch-po-Makefile.in.in
new file mode 100644
index 000000000000..8cf332d8b2c3
--- /dev/null
+++ b/deskutils/gxmessage/files/patch-po-Makefile.in.in
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in.orig 2010-10-01 17:25:38.839055382 +0000
++++ po/Makefile.in.in 2010-10-01 17:26:02.445995929 +0000
+@@ -34,7 +34,7 @@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+ DATADIRNAME = @DATADIRNAME@
+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++itlocaledir = $(prefix)/share/locale
+ subdir = po
+ install_sh = @install_sh@
+ # Automake >= 1.8 provides @mkdir_p@.
diff --git a/deskutils/gxmessage/pkg-plist b/deskutils/gxmessage/pkg-plist
new file mode 100644
index 000000000000..fc88ba315c5e
--- /dev/null
+++ b/deskutils/gxmessage/pkg-plist
@@ -0,0 +1,11 @@
+bin/gxmessage
+share/icons/hicolor/48x48/apps/gxmessage.png
+%%NLS%%share/locale/de/LC_MESSAGES/gxmessage.mo
+%%NLS%%share/locale/en_AU/LC_MESSAGES/gxmessage.mo
+%%NLS%%share/locale/en_CA/LC_MESSAGES/gxmessage.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/gxmessage.mo
+%%NLS%%share/locale/en_NZ/LC_MESSAGES/gxmessage.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gxmessage.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gxmessage.mo
+%%NLS%%@dirrmtry share/locale/en_NZ/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en_NZ