summaryrefslogtreecommitdiffstats
path: root/math/surf
diff options
context:
space:
mode:
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