Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2005 03:00:30 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86270: Update port: textproc/sagasu to 2.0.7
Message-ID:  <20050918030030.225d6ba2.tkato432@yahoo.com>
Resent-Message-ID: <200509171810.j8HIA7vJ003417@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86270
>Category:       ports
>Synopsis:       Update port: textproc/sagasu to 2.0.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 17 18:10:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.7

Remove file:
files/patch-src::ResultPage.cpp 

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/sagasu/Makefile textproc/sagasu/Makefile
--- /usr/ports/textproc/sagasu/Makefile	Sat Jun  4 15:10:17 2005
+++ textproc/sagasu/Makefile	Sat Sep 17 23:37:47 2005
@@ -5,29 +5,36 @@
 # $FreeBSD: ports/textproc/sagasu/Makefile,v 1.12 2005/06/03 20:18:07 oliver Exp $
 
 PORTNAME=	sagasu
-PORTVERSION=	2.0.6
-PORTREVISION=	3
+PORTVERSION=	2.0.7
 CATEGORIES=	textproc gnome
 MASTER_SITES=	http://www3.sympatico.ca/sarrazip/dev/ \
 		http://demian.dyndns.org/src/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Sagasu is a GNOME tool to find strings in a set of files
+COMMENT=	A GNOME tool to find strings in a set of files
 
 USE_X_PREFIX=	yes
+USE_GNOME=	gnomehack gnomeprefix libgnomeui
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
-USE_LIBTOOL_VER=15
-USE_GNOME=	gnomehack gnomeprefix libgnomeui
+USE_LIBTOOL_VER=	15
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
 MAN1=		sagasu.1
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|[(]datadir[)]/doc/$$(PACKAGE)-$$(VERSION)|(prefix)/share/doc/$$(PACKAGE)|g' \
-		${WRKSRC}/Makefile.in
-	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-D.*_DISABLE_DEPRECATED||g'
+	@${REINPLACE_CMD} -e \
+		's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e \
+		's|-D.*_DISABLE_DEPRECATED||g' ${WRKSRC}/src/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in AUTHORS INSTALL NEWS README THANKS TODO
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/sagasu/distinfo textproc/sagasu/distinfo
--- /usr/ports/textproc/sagasu/distinfo	Thu Aug 12 13:50:55 2004
+++ textproc/sagasu/distinfo	Sat Sep 17 23:03:07 2005
@@ -1,2 +1,2 @@
-MD5 (sagasu-2.0.6.tar.gz) = aa76b9ecaf9be537d5485aad39c40437
-SIZE (sagasu-2.0.6.tar.gz) = 282513
+MD5 (sagasu-2.0.7.tar.gz) = 0b2b672eb5b9680d961ee427e4852557
+SIZE (sagasu-2.0.7.tar.gz) = 288645
diff -urN /usr/ports/textproc/sagasu/files/patch-src::ResultPage.cpp textproc/sagasu/files/patch-src::ResultPage.cpp
--- /usr/ports/textproc/sagasu/files/patch-src::ResultPage.cpp	Fri Oct 10 15:28:17 2003
+++ textproc/sagasu/files/patch-src::ResultPage.cpp	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- src/ResultPage.cpp.orig	Thu Oct  9 23:20:10 2003
-+++ src/ResultPage.cpp	Thu Oct  9 23:21:01 2003
-@@ -22,6 +22,7 @@
- 
- #include "ResultPage.h"
- 
-+#include <assert.h>
- #include <libintl.h>
- #define _(String) gettext (String)
- #define gettext_noop(String) String
diff -urN /usr/ports/textproc/sagasu/pkg-plist textproc/sagasu/pkg-plist
--- /usr/ports/textproc/sagasu/pkg-plist	Wed Jan 12 13:49:23 2005
+++ textproc/sagasu/pkg-plist	Sat Sep 17 23:14:42 2005
@@ -1,11 +1,10 @@
 bin/sagasu
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/THANKS
-%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
 share/gnome/applications/sagasu.desktop
 share/gnome/help/sagasu/C/sagasu.html
 share/gnome/help/sagasu/fr/sagasu.html
@@ -14,6 +13,7 @@
 share/gnome/sagasu/COPYING
 share/gnome/sagasu/sagasu-helper.pl
 share/gnome/sounds/sagasu/sagasu.wav
+share/locale/de/LC_MESSAGES/sagasu.mo
 share/locale/fr/LC_MESSAGES/sagasu.mo
 share/locale/ja/LC_MESSAGES/sagasu.mo
 share/locale/ru/LC_MESSAGES/sagasu.mo
@@ -23,4 +23,4 @@
 @dirrm share/gnome/help/sagasu/fr
 @dirrm share/gnome/help/sagasu/C
 @dirrm share/gnome/help/sagasu
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050918030030.225d6ba2.tkato432>