From f00ba41a18c91ff8c5fa4df1729cad9c1b33bd7f Mon Sep 17 00:00:00 2001
From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Date: Sat, 5 Oct 2002 17:22:38 +0000
Subject: o Update to 0.62 o Add hack to disable GNU auto* tools which break
 this port build   under certain circumstances

Reviewed by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
---
 net/dctc-gui/Makefile  | 7 ++++++-
 net/dctc-gui/distinfo  | 2 +-
 net/dctc-gui/pkg-plist | 5 +++++
 3 files changed, 12 insertions(+), 2 deletions(-)

(limited to 'net/dctc-gui')

diff --git a/net/dctc-gui/Makefile b/net/dctc-gui/Makefile
index 58ae3b1eb960..1332c1957109 100644
--- a/net/dctc-gui/Makefile
+++ b/net/dctc-gui/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dctc
-PORTVERSION=	0.60
+PORTVERSION=	0.62
 CATEGORIES=	net gnome
 MASTER_SITES=	http://unixpages.org/distfiles/ \
 		http://ac2i.tzo.com/dctc/
@@ -30,6 +30,7 @@ GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 CONFIGURE_ARGS=	--with-gnome=${X11BASE} \
 		--with-gtk-prefix=${LOCALBASE} \
+		--datadir=${X11BASE}/share/gnome \
 		--enable-manual-db-detect \
 		--with-libiconv-prefix=${LOCALBASE}
 
@@ -56,6 +57,10 @@ post-configure:
 	@${ECHO_CMD} '#ifndef SEMVMX' >> ${WRKSRC}/config.h
 	@${ECHO_CMD} '#define SEMVMX 32767' >> ${WRKSRC}/config.h
 	@${ECHO_CMD} '#endif' >> ${WRKSRC}/config.h
+# disable GNU auto* tools
+	@${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \
+		-n 10 ${REINPLACE_CMD} -E -e \
+		's! (autoconf|autoheader|automake|aclocal)$$! ${TRUE}!'
 
 post-install:
 .ifndef(NOPORTDOCS)
diff --git a/net/dctc-gui/distinfo b/net/dctc-gui/distinfo
index 4fc961fb81bf..d828bffb82ae 100644
--- a/net/dctc-gui/distinfo
+++ b/net/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.60.tar.gz) = c31bf21b4519b54275825fda34881fd1
+MD5 (dc_gui-0.62.tar.gz) = 2c9bf8fab023769a459ef35a71ef4a91
diff --git a/net/dctc-gui/pkg-plist b/net/dctc-gui/pkg-plist
index 67615b75ac13..7758b2b6cd9c 100644
--- a/net/dctc-gui/pkg-plist
+++ b/net/dctc-gui/pkg-plist
@@ -3,6 +3,9 @@ bin/dc_gui
 %%PORTDOCS%%share/doc/dctc-gui/ChangeLog
 %%PORTDOCS%%share/doc/dctc-gui/README
 %%PORTDOCS%%share/doc/dctc-gui/TODO
+share/gnome/pixmaps/dc_gui/icon_kill.xpm
+share/gnome/pixmaps/dc_gui/icon_refresh.xpm
+share/gnome/pixmaps/dc_gui/icon_remove_selected.xpm
 share/locale/de/LC_MESSAGES/dc_gui.mo
 share/locale/fr/LC_MESSAGES/dc_gui.mo
 share/locale/nl/LC_MESSAGES/dc_gui.mo
@@ -16,6 +19,7 @@ share/locale/sv/LC_MESSAGES/dc_gui.mo
 @unexec %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
 @unexec %D/share/locale/de 2>/dev/null || true
 @unexec %D/share/locale 2>/dev/null || true
+@dirrm share/gnome/pixmaps/dc_gui
 @unexec %D/share/gnome/help/dc_gui/nl/images 2>/dev/null || true
 @unexec %D/share/gnome/help/dc_gui/nl 2>/dev/null || true
 @unexec %D/share/gnome/help/dc_gui/es/images 2>/dev/null || true
@@ -26,3 +30,4 @@ share/locale/sv/LC_MESSAGES/dc_gui.mo
 @unexec %D/share/gnome/help 2>/dev/null || true
 @unexec %D/share/gnome 2>/dev/null || true
 %%PORTDOCS%%@dirrm share/doc/dctc-gui
+
-- 
cgit v1.2.3