aboutsummaryrefslogtreecommitdiff
path: root/math/rascal
diff options
context:
space:
mode:
Diffstat (limited to 'math/rascal')
-rw-r--r--math/rascal/Makefile10
-rw-r--r--math/rascal/distinfo2
-rw-r--r--math/rascal/files/patch-grascal.cpp11
-rw-r--r--math/rascal/pkg-plist1
4 files changed, 19 insertions, 5 deletions
diff --git a/math/rascal/Makefile b/math/rascal/Makefile
index 25d4aa2e015a..3db13186e554 100644
--- a/math/rascal/Makefile
+++ b/math/rascal/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= rascal
-PORTVERSION= 0.2.8
+PORTVERSION= 0.2.9
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,10 +17,10 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
USE_BISON= yes
-
+USE_GNOME= yes
WRKSRC= ${WRKDIR}/Rascal-${PORTVERSION}
USE_GMAKE= yes
-ALL_TARGET=
+ALL_TARGET= rascal grascal
MANCOMPRESSED= yes
MAN1= rascal.1
@@ -28,6 +28,8 @@ MAN1= rascal.1
post-patch:
@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
s,g\+\+,${CXX},g ; \
- s,doc/,share/doc/,g" ${WRKSRC}/Makefile
+ s,doc/,share/doc/,g ; \
+ s,gnome-config,${GNOME_CONFIG},g ; \
+ s,CC,CXX,g" ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/math/rascal/distinfo b/math/rascal/distinfo
index c9e44e5a86ca..36bbc6655c5f 100644
--- a/math/rascal/distinfo
+++ b/math/rascal/distinfo
@@ -1 +1 @@
-MD5 (rascal-0.2.8.tar.gz) = 976d82467f76691b678261ebc05e9230
+MD5 (rascal-0.2.9.tar.gz) = be3782f7810ab5e30669375198518a45
diff --git a/math/rascal/files/patch-grascal.cpp b/math/rascal/files/patch-grascal.cpp
new file mode 100644
index 000000000000..4e885a2282e5
--- /dev/null
+++ b/math/rascal/files/patch-grascal.cpp
@@ -0,0 +1,11 @@
+--- grascal.cpp.orig Fri Jul 13 10:04:16 2001
++++ grascal.cpp Fri Jul 13 10:05:23 2001
+@@ -91,7 +91,7 @@
+ a.addMenu(new MenuFileSelect("/File/_Load","<control>L","Load Rascal File",rascal_load));
+ a.addMenu(new MenuFileSelect("/File/_Save","<control>S","Save Rascal File",rascal_save));
+ a.addMenu(new MenuSeparator("/File/sep1"));
+- a.addMenu(new MenuGtkFunction("/File/_Quit","<control>Q",gtk_main_quit));
++ a.addMenu(new MenuGtkFunction("/File/_Quit","<control>Q",(GtkItemFactoryCallback)gtk_main_quit));
+
+ a.addMenu(new MenuTop("/_Show"));
+ a.addMenu(new MenuSimpleSend("/Show/_Variables","","variables;\n"));
diff --git a/math/rascal/pkg-plist b/math/rascal/pkg-plist
index a7a35cb62f56..a0f74882d894 100644
--- a/math/rascal/pkg-plist
+++ b/math/rascal/pkg-plist
@@ -1,5 +1,6 @@
bin/rascal
bin/rascal.rc
+bin/grascal
share/doc/rascal/rascal.pdf
share/doc/rascal/rascal.ps
share/doc/rascal/CHANGES