View | Details | Raw Unified | Return to bug 82944
Collapse All | Expand All

(-)math/graphthing/Makefile (-6 / +11 lines)
Lines 7-32 Link Here
7
#
7
#
8
8
9
PORTNAME=	graphthing
9
PORTNAME=	graphthing
10
PORTVERSION=	0.9.5
10
PORTVERSION=	1.0
11
CATEGORIES=	math
11
CATEGORIES=	math
12
MASTER_SITES=	http://graph.seul.org/
12
MASTER_SITES=	http://graph.seul.org/
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A tool that allows you to create, manipulate and study graphs
15
COMMENT=	A tool that allows you to create, manipulate and study graphs
16
16
17
LIB_DEPENDS=	gtkmm.2:${PORTSDIR}/x11-toolkits/gtk--
17
LIB_DEPENDS=	wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
18
18
19
USE_BZIP2=	yes
19
USE_BZIP2=	yes
20
USE_GNOME=	gnometarget gtk12
20
USE_GNOME=	gnometarget gtk20
21
USE_BISON=	yes
21
USE_BISON=	yes
22
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
23
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
26
CONFIGURE_ARGS=	--with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config
25
27
26
PLIST_FILES=	bin/graphthing bin/gt
28
PLIST_FILES=	bin/graphthing bin/gt
27
29
28
post-patch:
30
CPPFLAGS=	${PTHREAD_CFLAGS}
29
	${REINPLACE_CMD} -e "s,\/usr\/include\/gtk-1.2\/gdk\/gdkkeysyms.h,," \
31
LDFLAGS=	${PTHREAD_LIBS}
30
		${WRKSRC}/src/depend.1
32
33
do-install:
34
	${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin
35
	${LN} -sf graphthing ${PREFIX}/bin/gt
31
36
32
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)math/graphthing/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (graphthing-0.9.5.tar.bz2) = 343f958d0b2bb8558006ec92048d8c98
1
MD5 (graphthing-1.0.tar.bz2) = 33dda372a386e0e5a55f31ba0bc5ec36
2
SIZE (graphthing-0.9.5.tar.bz2) = 138622
2
SIZE (graphthing-1.0.tar.bz2) = 127900
(-)math/graphthing/files/patch-src-exporter.cc (+10 lines)
Line 0 Link Here
1
--- src/exporter.cc.orig	Sun Jul  3 13:27:10 2005
2
+++ src/exporter.cc	Sun Jul  3 18:15:55 2005
3
@@ -5,6 +5,7 @@
4
 #include <fstream>
5
 #include <iostream>
6
 #include <stdexcept>
7
+#include <ctime>
8
 #include "config.h"
9
 #include "edge.h"
10
 #include "exporter.h"
(-)math/graphthing/files/patch-src-gui.h (-18 lines)
Lines 1-18 Link Here
1
--- src/gui.h.orig	Thu Feb 24 14:11:10 2005
2
+++ src/gui.h	Thu Feb 24 14:11:12 2005
3
@@ -140,7 +140,6 @@ public:
4
 class ParamDialog : public Gtk::Dialog
5
 {
6
 protected:
7
-	void ok_click ();
8
 
9
 	virtual int delete_event_impl (GdkEventAny *ev);
10
 	virtual void get_data () = 0;
11
@@ -148,6 +147,7 @@ protected:
12
 public:
13
 	bool cancelled;
14
 
15
+	void ok_click ();
16
 	ParamDialog (const String &title = "Prefab Parameter");
17
 };
18

Return to bug 82944