aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dctc-gui/Makefile5
-rw-r--r--net-p2p/dctc-gui/distinfo2
-rw-r--r--net-p2p/dctc-gui/pkg-plist3
-rw-r--r--net/dctc-gui/Makefile5
-rw-r--r--net/dctc-gui/distinfo2
-rw-r--r--net/dctc-gui/pkg-plist3
6 files changed, 16 insertions, 4 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
index d3b7bb6cc30f..b07bc154e5f7 100644
--- a/net-p2p/dctc-gui/Makefile
+++ b/net-p2p/dctc-gui/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.58
+PORTVERSION= 0.59
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
@@ -22,6 +22,7 @@ LIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \
USE_GNOMELIBS= yes
USE_GTK= yes
USE_XLIB= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnome=${X11BASE} \
@@ -41,6 +42,8 @@ post-patch:
@${PERL} -pi -e 's|(<stdio.h>.*)$$|\1\n#include <config.h>|; \
s|(cmdline.+)(hublist)|\1dc_\2|' \
${WRKSRC}/src/init_fnc.c
+# XXX - revise at every port update
+ @${REINPLACE_CMD} -e "s|%'|%|" ${WRKSRC}/src/*.c
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
diff --git a/net-p2p/dctc-gui/distinfo b/net-p2p/dctc-gui/distinfo
index 2213eee6bd60..2b684d441399 100644
--- a/net-p2p/dctc-gui/distinfo
+++ b/net-p2p/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.58.tar.gz) = 2707c3c1bcd8f88694acf1e59bb2c16b
+MD5 (dc_gui-0.59.tar.gz) = cf95c39c0d4baf6130deca84279d93d6
diff --git a/net-p2p/dctc-gui/pkg-plist b/net-p2p/dctc-gui/pkg-plist
index 75f50f31542e..9d91cf2d82ac 100644
--- a/net-p2p/dctc-gui/pkg-plist
+++ b/net-p2p/dctc-gui/pkg-plist
@@ -12,6 +12,9 @@ share/gnome/help/dc_gui/nl/topic.dat
share/locale/de/LC_MESSAGES/dc_gui.mo
share/locale/fr/LC_MESSAGES/dc_gui.mo
share/locale/nl/LC_MESSAGES/dc_gui.mo
+share/locale/sv/LC_MESSAGES/dc_gui.mo
+@unexec %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
+@unexec %D/share/locale/sv 2>/dev/null || true
@unexec %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
@unexec %D/share/locale/nl 2>/dev/null || true
@unexec %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
diff --git a/net/dctc-gui/Makefile b/net/dctc-gui/Makefile
index d3b7bb6cc30f..b07bc154e5f7 100644
--- a/net/dctc-gui/Makefile
+++ b/net/dctc-gui/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.58
+PORTVERSION= 0.59
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
@@ -22,6 +22,7 @@ LIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \
USE_GNOMELIBS= yes
USE_GTK= yes
USE_XLIB= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnome=${X11BASE} \
@@ -41,6 +42,8 @@ post-patch:
@${PERL} -pi -e 's|(<stdio.h>.*)$$|\1\n#include <config.h>|; \
s|(cmdline.+)(hublist)|\1dc_\2|' \
${WRKSRC}/src/init_fnc.c
+# XXX - revise at every port update
+ @${REINPLACE_CMD} -e "s|%'|%|" ${WRKSRC}/src/*.c
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
diff --git a/net/dctc-gui/distinfo b/net/dctc-gui/distinfo
index 2213eee6bd60..2b684d441399 100644
--- a/net/dctc-gui/distinfo
+++ b/net/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.58.tar.gz) = 2707c3c1bcd8f88694acf1e59bb2c16b
+MD5 (dc_gui-0.59.tar.gz) = cf95c39c0d4baf6130deca84279d93d6
diff --git a/net/dctc-gui/pkg-plist b/net/dctc-gui/pkg-plist
index 75f50f31542e..9d91cf2d82ac 100644
--- a/net/dctc-gui/pkg-plist
+++ b/net/dctc-gui/pkg-plist
@@ -12,6 +12,9 @@ share/gnome/help/dc_gui/nl/topic.dat
share/locale/de/LC_MESSAGES/dc_gui.mo
share/locale/fr/LC_MESSAGES/dc_gui.mo
share/locale/nl/LC_MESSAGES/dc_gui.mo
+share/locale/sv/LC_MESSAGES/dc_gui.mo
+@unexec %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
+@unexec %D/share/locale/sv 2>/dev/null || true
@unexec %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
@unexec %D/share/locale/nl 2>/dev/null || true
@unexec %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true