aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/dctc-gui
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-04 18:04:54 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-04 18:04:54 +0000
commitfc484b06d94c1d8b6bfb9435ad1d12e00d2c9302 (patch)
tree02d99908b6f94b27ad706f9881a877264f50e134 /net-p2p/dctc-gui
parentfd3eb836b9f6d8fc622cb53a5d493ce7315c239e (diff)
downloadports-fc484b06d94c1d8b6bfb9435ad1d12e00d2c9302.tar.gz
ports-fc484b06d94c1d8b6bfb9435ad1d12e00d2c9302.zip
Notes
Diffstat (limited to 'net-p2p/dctc-gui')
-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
3 files changed, 8 insertions, 2 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