Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2006 00:35:20 +0600 (YEKST)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101947: [PATCH] math/surf: update to 1.0.5, install docs
Message-ID:  <20060812183520.98086123C2@fonon.realnet>
Resent-Message-ID: <200608122040.k7CKeF1n056195@freefall.freebsd.org>

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

>Number:         101947
>Category:       ports
>Synopsis:       [PATCH] math/surf: update to 1.0.5, install docs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 12 20:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
- Update to 1.0.5

I removed the following files:
- files/patch-gtkgui::MainWindowController.cc
- files/patch-gtkgui::Requester.cc
- files/patch-gtkgui::SaveImageDiaglog.cc
- files/patch-gtkgui::mycolor.cc
- files/patch-misc::Misc.h

>How-To-Repeat:
>Fix:

--- surf-1.0.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/surf/Makefile /var/tmp/ruby/surf/Makefile
--- /usr/ports/math/surf/Makefile	Wed May 10 20:46:45 2006
+++ /var/tmp/ruby/surf/Makefile	Sun Aug 13 00:30:06 2006
@@ -7,8 +7,8 @@
 #
 
 PORTNAME=	surf
-PORTVERSION=	1.0.4
-PORTREVISION=	3
+PORTVERSION=	1.0.5
+PORTREVISION=	0
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -26,5 +26,15 @@
 		LDFLAGS="-L${LOCALBASE}/lib"
 
 MAN1=	surf.1
+
+.if !defined(NOPORTDOCS)
+PORTDOCS=	manual.sgml
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/math/surf/distinfo /var/tmp/ruby/surf/distinfo
--- /usr/ports/math/surf/distinfo	Fri Nov 25 20:48:14 2005
+++ /var/tmp/ruby/surf/distinfo	Mon Aug  7 17:04:21 2006
@@ -1,3 +1,3 @@
-MD5 (surf-1.0.4.tar.gz) = 4880ecf3d4207ab0a4f2a2f017383b65
-SHA256 (surf-1.0.4.tar.gz) = 1a3c7f5987037a17f2827a69e507f2c2aad6e44417d9fe0a12587e09345a4bc7
-SIZE (surf-1.0.4.tar.gz) = 460776
+MD5 (surf-1.0.5.tar.gz) = e19fbfdeffd60e8b178be89aeb43f7b1
+SHA256 (surf-1.0.5.tar.gz) = 54ae9b0298e85ba1ca265c8517a5adecbdf570563dcaedd9c3255e6e6a5e8afd
+SIZE (surf-1.0.5.tar.gz) = 433369
diff -ruN --exclude=CVS /usr/ports/math/surf/files/patch-gtkgui::MainWindowController.cc /var/tmp/ruby/surf/files/patch-gtkgui::MainWindowController.cc
--- /usr/ports/math/surf/files/patch-gtkgui::MainWindowController.cc	Sat Aug  2 08:21:02 2003
+++ /var/tmp/ruby/surf/files/patch-gtkgui::MainWindowController.cc	Thu Jan  1 05:00:00 1970
@@ -1,11 +0,0 @@
---- gtkgui/MainWindowController.cc.orig	Tue Jul 22 16:23:20 2003
-+++ gtkgui/MainWindowController.cc	Tue Jul 22 16:23:30 2003
-@@ -28,7 +28,7 @@
- 
- #include <gtk/gtkitemfactory.h>
- 
--#include <strstream.h>
-+#include <strstream>
- 
- // #define DEBUG
- #include "debug.h"
diff -ruN --exclude=CVS /usr/ports/math/surf/files/patch-gtkgui::Requester.cc /var/tmp/ruby/surf/files/patch-gtkgui::Requester.cc
--- /usr/ports/math/surf/files/patch-gtkgui::Requester.cc	Sat Aug  2 08:21:02 2003
+++ /var/tmp/ruby/surf/files/patch-gtkgui::Requester.cc	Thu Jan  1 05:00:00 1970
@@ -1,11 +0,0 @@
---- gtkgui/Requester.cc.orig	Tue Jul 22 16:23:45 2003
-+++ gtkgui/Requester.cc	Tue Jul 22 16:24:01 2003
-@@ -25,7 +25,7 @@
- 
- #include <assert.h>
- #include <iostream.h>
--#include <strstream.h>
-+#include <strstream>
- 
- #include <gtk/gtk.h>
- 
diff -ruN --exclude=CVS /usr/ports/math/surf/files/patch-gtkgui::SaveImageDiaglog.cc /var/tmp/ruby/surf/files/patch-gtkgui::SaveImageDiaglog.cc
--- /usr/ports/math/surf/files/patch-gtkgui::SaveImageDiaglog.cc	Sat Aug  2 08:21:02 2003
+++ /var/tmp/ruby/surf/files/patch-gtkgui::SaveImageDiaglog.cc	Thu Jan  1 05:00:00 1970
@@ -1,15 +0,0 @@
---- gtkgui/SaveImageDialog.cc.orig	Tue Jul 22 16:24:13 2003
-+++ gtkgui/SaveImageDialog.cc	Tue Jul 22 16:26:31 2003
-@@ -23,9 +23,11 @@
-  */
- 
- 
--#include <strstream.h>
-+#include <strstream>
- 
- #include "SaveImageDialog.h"
-+
-+using std::ostrstream;
- 
- void SaveImageDialog::toggled_dither_method (GtkWidget *w, gpointer data)
- {
diff -ruN --exclude=CVS /usr/ports/math/surf/files/patch-gtkgui::mycolor.cc /var/tmp/ruby/surf/files/patch-gtkgui::mycolor.cc
--- /usr/ports/math/surf/files/patch-gtkgui::mycolor.cc	Sat Aug  2 08:21:02 2003
+++ /var/tmp/ruby/surf/files/patch-gtkgui::mycolor.cc	Thu Jan  1 05:00:00 1970
@@ -1,11 +0,0 @@
---- gtkgui/mycolor.cc.orig	Tue Jul 22 16:22:12 2003
-+++ gtkgui/mycolor.cc	Tue Jul 22 16:22:26 2003
-@@ -26,7 +26,7 @@
- #include <assert.h>
- #include <iostream.h>
- #include <stdlib.h>
--#include <strstream.h>
-+#include <strstream>
- 
- #include <gtk/gtk.h>
- #include <gdk/gdk.h>
diff -ruN --exclude=CVS /usr/ports/math/surf/files/patch-misc::Misc.h /var/tmp/ruby/surf/files/patch-misc::Misc.h
--- /usr/ports/math/surf/files/patch-misc::Misc.h	Sat Aug  2 08:21:02 2003
+++ /var/tmp/ruby/surf/files/patch-misc::Misc.h	Thu Jan  1 05:00:00 1970
@@ -1,13 +0,0 @@
---- misc/Misc.h.orig	Tue Jul 22 16:14:35 2003
-+++ misc/Misc.h	Tue Jul 22 16:14:59 2003
-@@ -26,7 +26,9 @@
- #ifndef MISC_H
- #define MISC_H
- 
--#include <strstream.h>
-+#include <strstream>
-+
-+using std::ostrstream;
- 
- class Misc
- {
diff -ruN --exclude=CVS /usr/ports/math/surf/pkg-plist /var/tmp/ruby/surf/pkg-plist
--- /usr/ports/math/surf/pkg-plist	Mon Apr 23 22:52:21 2001
+++ /var/tmp/ruby/surf/pkg-plist	Sun Aug 13 00:27:48 2006
@@ -1,3 +1,3 @@
 bin/surf
-share/surf/surf.xpm
-@dirrm share/surf
+%%DATADIR%%/surf.xpm
+@dirrm %%DATADIR%%
--- surf-1.0.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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