aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/emelfm2/Makefile17
-rw-r--r--x11-fm/emelfm2/distinfo6
-rw-r--r--x11-fm/emelfm2/files/patch-e2_task_backend.c11
-rw-r--r--x11-fm/emelfm2/pkg-plist6
4 files changed, 18 insertions, 22 deletions
diff --git a/x11-fm/emelfm2/Makefile b/x11-fm/emelfm2/Makefile
index c96fd0351983..14dd8e43c625 100644
--- a/x11-fm/emelfm2/Makefile
+++ b/x11-fm/emelfm2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= emelfm2
-PORTVERSION= 0.1.8
+PORTVERSION= 0.2
CATEGORIES= x11-fm
MASTER_SITES= http://www.emelfm2.net/rel/ \
${MASTER_SITE_LOCAL}
@@ -19,17 +19,24 @@ USE_GNOME= gtk20
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GETOPT_LONG=yes
-INSTALLS_SHLIB= yes
-INSTALL_TARGET= install install_i18n
+USE_LDCONFIG= yes
+INSTALL_TARGET= install
-MAKE_ENV= CC=${CC} LDFLAGS="${LDFLAGS}" DOC_DIR="${DOCSDIR}"
+MAKE_ENV= CC=${CC} LDFLAGS="${LDFLAGS}" DOC_DIR="${DOCSDIR}/"
MAN1= emelfm2.1
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+INSTALL_TARGET+=install_i18n
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+.endif
+
.if ${OSVERSION} < 500000
USE_GCC= 3.4
.endif
.include <bsd.port.post.mk>
-
diff --git a/x11-fm/emelfm2/distinfo b/x11-fm/emelfm2/distinfo
index f1f498c24f0c..84fde0af40ff 100644
--- a/x11-fm/emelfm2/distinfo
+++ b/x11-fm/emelfm2/distinfo
@@ -1,3 +1,3 @@
-MD5 (emelfm2-0.1.8.tar.gz) = 3322a69e378fccb38272d0dd6d7c2f3e
-SHA256 (emelfm2-0.1.8.tar.gz) = 5bf8c94eefaa0683eae75278b314f0a469e229e232fbf6c934e170d14ab5faa8
-SIZE (emelfm2-0.1.8.tar.gz) = 850801
+MD5 (emelfm2-0.2.tar.gz) = 506f6a12779c23e589a55c778b648798
+SHA256 (emelfm2-0.2.tar.gz) = 7274f476d31a489a30e176e41b28b7f5a6315cc29d89fbee34ce4e78958b656a
+SIZE (emelfm2-0.2.tar.gz) = 858480
diff --git a/x11-fm/emelfm2/files/patch-e2_task_backend.c b/x11-fm/emelfm2/files/patch-e2_task_backend.c
deleted file mode 100644
index d8529edc0c1e..000000000000
--- a/x11-fm/emelfm2/files/patch-e2_task_backend.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/e2_task_backend.c Mon May 8 11:10:01 2006
-+++ src/e2_task_backend.c.orig Mon May 8 11:06:53 2006
-@@ -573,7 +573,7 @@
- return FALSE;
- }
-
-- blksize_t buf_size = dest_sb.st_blksize; //or src ??
-+ __int32_t buf_size = dest_sb.st_blksize; //or src ??
- gchar *buf = g_alloca (buf_size);
- //CHECKME suspend access-monitoirng here ...
- for (;;)
diff --git a/x11-fm/emelfm2/pkg-plist b/x11-fm/emelfm2/pkg-plist
index 0ea29b02679e..f88093471123 100644
--- a/x11-fm/emelfm2/pkg-plist
+++ b/x11-fm/emelfm2/pkg-plist
@@ -32,9 +32,9 @@ share/applications/emelfm2.desktop
%%PORTDOCS%%%%DOCSDIR%%/USAGE
%%PORTDOCS%%%%DOCSDIR%%/WARNING
%%PORTDOCS%%%%DOCSDIR%%/help.txt
-share/locale/de/LC_MESSAGES/emelfm2.mo
-share/locale/fr/LC_MESSAGES/emelfm2.mo
-share/locale/ja/LC_MESSAGES/emelfm2.mo
+%%NLS%%share/locale/de/LC_MESSAGES/emelfm2.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/emelfm2.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/emelfm2.mo
share/pixmaps/emelfm2/add_mark_bottom_48.png
share/pixmaps/emelfm2/add_mark_top_48.png
share/pixmaps/emelfm2/apply_all_48.png