diff options
author | arved <arved@FreeBSD.org> | 2005-07-04 23:37:00 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2005-07-04 23:37:00 +0800 |
commit | 3c5a9461a01e3e8a2e8d912d2eebac4757f60f81 (patch) | |
tree | 3a65e337bae941f1e918fd2ee375e7c997ea141e /math/graphthing | |
parent | 728908dd8101b4b0fe2880406706b7a0244fdff8 (diff) | |
download | freebsd-ports-gnome-3c5a9461a01e3e8a2e8d912d2eebac4757f60f81.tar.gz freebsd-ports-gnome-3c5a9461a01e3e8a2e8d912d2eebac4757f60f81.tar.zst freebsd-ports-gnome-3c5a9461a01e3e8a2e8d912d2eebac4757f60f81.zip |
Update to 1.0
- Switch from gtkmm to wxgtk
PR: 82944
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'math/graphthing')
-rw-r--r-- | math/graphthing/Makefile | 17 | ||||
-rw-r--r-- | math/graphthing/distinfo | 4 | ||||
-rw-r--r-- | math/graphthing/files/patch-src-exporter.cc | 10 | ||||
-rw-r--r-- | math/graphthing/files/patch-src-gui.h | 18 |
4 files changed, 23 insertions, 26 deletions
diff --git a/math/graphthing/Makefile b/math/graphthing/Makefile index 238659063acf..27e5d0553048 100644 --- a/math/graphthing/Makefile +++ b/math/graphthing/Makefile @@ -7,26 +7,31 @@ # PORTNAME= graphthing -PORTVERSION= 0.9.5 +PORTVERSION= 1.0 CATEGORIES= math MASTER_SITES= http://graph.seul.org/ MAINTAINER= ports@FreeBSD.org COMMENT= A tool that allows you to create, manipulate and study graphs -LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- +LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26 USE_BZIP2= yes -USE_GNOME= gnometarget gtk12 +USE_GNOME= gnometarget gtk20 USE_BISON= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config PLIST_FILES= bin/graphthing bin/gt -post-patch: - ${REINPLACE_CMD} -e "s,\/usr\/include\/gtk-1.2\/gdk\/gdkkeysyms.h,," \ - ${WRKSRC}/src/depend.1 +CPPFLAGS= ${PTHREAD_CFLAGS} +LDFLAGS= ${PTHREAD_LIBS} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin + ${LN} -sf graphthing ${PREFIX}/bin/gt .include <bsd.port.mk> diff --git a/math/graphthing/distinfo b/math/graphthing/distinfo index 905fda69c381..c5a7a5344439 100644 --- a/math/graphthing/distinfo +++ b/math/graphthing/distinfo @@ -1,2 +1,2 @@ -MD5 (graphthing-0.9.5.tar.bz2) = 343f958d0b2bb8558006ec92048d8c98 -SIZE (graphthing-0.9.5.tar.bz2) = 138622 +MD5 (graphthing-1.0.tar.bz2) = 33dda372a386e0e5a55f31ba0bc5ec36 +SIZE (graphthing-1.0.tar.bz2) = 127900 diff --git a/math/graphthing/files/patch-src-exporter.cc b/math/graphthing/files/patch-src-exporter.cc new file mode 100644 index 000000000000..b8ac15e1c39a --- /dev/null +++ b/math/graphthing/files/patch-src-exporter.cc @@ -0,0 +1,10 @@ +--- src/exporter.cc.orig Sun Jul 3 13:27:10 2005 ++++ src/exporter.cc Sun Jul 3 18:15:55 2005 +@@ -5,6 +5,7 @@ + #include <fstream> + #include <iostream> + #include <stdexcept> ++#include <ctime> + #include "config.h" + #include "edge.h" + #include "exporter.h" diff --git a/math/graphthing/files/patch-src-gui.h b/math/graphthing/files/patch-src-gui.h deleted file mode 100644 index 8018b28a56d3..000000000000 --- a/math/graphthing/files/patch-src-gui.h +++ /dev/null @@ -1,18 +0,0 @@ ---- src/gui.h.orig Thu Feb 24 14:11:10 2005 -+++ src/gui.h Thu Feb 24 14:11:12 2005 -@@ -140,7 +140,6 @@ public: - class ParamDialog : public Gtk::Dialog - { - protected: -- void ok_click (); - - virtual int delete_event_impl (GdkEventAny *ev); - virtual void get_data () = 0; -@@ -148,6 +147,7 @@ protected: - public: - bool cancelled; - -+ void ok_click (); - ParamDialog (const String &title = "Prefab Parameter"); - }; - |