summaryrefslogtreecommitdiffstats
path: root/math/surf
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-14 16:12:50 +0000
committerrafan <rafan@FreeBSD.org>2006-08-14 16:12:50 +0000
commite9b16e2fbbeda937adaaf0b67d266e9cabd94f3a (patch)
tree1c56470c45d9029f2b271f4433fc67cd01aaa759 /math/surf
parentbf2ea99a20367fd5d653f3d4348777812183e994 (diff)
downloadFreeBSD-ports-e9b16e2fbbeda937adaaf0b67d266e9cabd94f3a.zip
FreeBSD-ports-e9b16e2fbbeda937adaaf0b67d266e9cabd94f3a.tar.gz
- Update to 1.0.5
- Install additional documents PR: ports/101947 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'math/surf')
-rw-r--r--math/surf/Makefile14
-rw-r--r--math/surf/distinfo6
-rw-r--r--math/surf/files/patch-gtkgui::MainWindowController.cc11
-rw-r--r--math/surf/files/patch-gtkgui::Requester.cc11
-rw-r--r--math/surf/files/patch-gtkgui::SaveImageDiaglog.cc15
-rw-r--r--math/surf/files/patch-gtkgui::mycolor.cc11
-rw-r--r--math/surf/files/patch-misc::Misc.h13
-rw-r--r--math/surf/pkg-plist4
8 files changed, 17 insertions, 68 deletions
diff --git a/math/surf/Makefile b/math/surf/Makefile
index 9beb33e..7d19042 100644
--- a/math/surf/Makefile
+++ b/math/surf/Makefile
@@ -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}
@@ -27,4 +27,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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 --git a/math/surf/distinfo b/math/surf/distinfo
index d550328..60b9bde 100644
--- a/math/surf/distinfo
+++ b/math/surf/distinfo
@@ -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 --git a/math/surf/files/patch-gtkgui::MainWindowController.cc b/math/surf/files/patch-gtkgui::MainWindowController.cc
deleted file mode 100644
index 7971891..0000000
--- a/math/surf/files/patch-gtkgui::MainWindowController.cc
+++ /dev/null
@@ -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 --git a/math/surf/files/patch-gtkgui::Requester.cc b/math/surf/files/patch-gtkgui::Requester.cc
deleted file mode 100644
index 87391bd..0000000
--- a/math/surf/files/patch-gtkgui::Requester.cc
+++ /dev/null
@@ -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 --git a/math/surf/files/patch-gtkgui::SaveImageDiaglog.cc b/math/surf/files/patch-gtkgui::SaveImageDiaglog.cc
deleted file mode 100644
index f49e9aa..0000000
--- a/math/surf/files/patch-gtkgui::SaveImageDiaglog.cc
+++ /dev/null
@@ -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 --git a/math/surf/files/patch-gtkgui::mycolor.cc b/math/surf/files/patch-gtkgui::mycolor.cc
deleted file mode 100644
index f09e258..0000000
--- a/math/surf/files/patch-gtkgui::mycolor.cc
+++ /dev/null
@@ -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 --git a/math/surf/files/patch-misc::Misc.h b/math/surf/files/patch-misc::Misc.h
deleted file mode 100644
index 60b3963..0000000
--- a/math/surf/files/patch-misc::Misc.h
+++ /dev/null
@@ -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 --git a/math/surf/pkg-plist b/math/surf/pkg-plist
index e9dd51e..d2db8a8 100644
--- a/math/surf/pkg-plist
+++ b/math/surf/pkg-plist
@@ -1,3 +1,3 @@
bin/surf
-share/surf/surf.xpm
-@dirrm share/surf
+%%DATADIR%%/surf.xpm
+@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud