summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2001-04-27 14:43:55 +0000
committeragc <agc>2001-04-27 14:43:55 +0000
commitd17f1f8fc5de71688e9d651e6c4101ff178d388c (patch)
treefa1e03be21067cc987500d92cc18b9695dd10521
parent0bca77fc7fe43d154981bc6fea2ecb35545faee6 (diff)
downloadpkgsrc-d17f1f8fc5de71688e9d651e6c4101ff178d388c.tar.gz
Initial import of gpsim into the packages collection.
Provided in PR 12490 by Shelby <snoonan@dragonfly.tbearsiberians.com> Minor modifications by myself. gpsim is a PIC simulator that supports X, stimulii, and modules
-rw-r--r--emulators/gpsim/Makefile28
-rw-r--r--emulators/gpsim/distinfo8
-rw-r--r--emulators/gpsim/patches/patch-aa12
-rw-r--r--emulators/gpsim/patches/patch-ab12
-rw-r--r--emulators/gpsim/patches/patch-ac13
-rw-r--r--emulators/gpsim/patches/patch-ad21
-rw-r--r--emulators/gpsim/pkg/DESCR1
-rw-r--r--emulators/gpsim/pkg/PLIST60
8 files changed, 155 insertions, 0 deletions
diff --git a/emulators/gpsim/Makefile b/emulators/gpsim/Makefile
new file mode 100644
index 00000000000..35c67c96188
--- /dev/null
+++ b/emulators/gpsim/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 14:43:55 agc Exp $
+#
+
+DISTNAME= gpsim-0.20.7
+CATEGORIES= emulators
+MASTER_SITES= http://www.dattalo.com/gnupic/
+
+MAINTAINER= snoonan@tbearsiberians.com
+HOMEPAGE= http://www.dattalo.com/gnupic/gpsim
+COMMENT= PIC emulator with X interface
+
+DEPENDS+= gtk+-1.*:../../x11/gtk
+DEPENDS+= gtk+extra-*:../../x11/gtk+extra
+DEPENDS+= eXdbm-*:../../devel/eXdbm
+DEPENDS+= readline>=2.0:../../devel/readline
+DEPENDS+= popt-*:../../devel/popt
+
+CPPFLAGS+= -I${LOCALBASE}/include
+
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS+="${LDFLAGS}"
+CONFIGURE_ARGS+= --with-exdbm=${PREFIX}
+
+USE_GMAKE= YES
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gpsim/distinfo b/emulators/gpsim/distinfo
new file mode 100644
index 00000000000..473c8917eb3
--- /dev/null
+++ b/emulators/gpsim/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/27 14:43:55 agc Exp $
+
+SHA1 (gpsim-0.20.7.tar.gz) = c3f76c4b8e4756ca1542a2529f44ace799b1d8ee
+Size (gpsim-0.20.7.tar.gz) = 448581 bytes
+SHA1 (patch-aa) = b01dc8b18a2718b1c9f440bd743e703bf8eecd5d
+SHA1 (patch-ab) = d8848b2bf5394f8b41e7b3359096df2e592c9bf3
+SHA1 (patch-ac) = f4225db4c5d8ee02f7322912bb8197f22c83a94e
+SHA1 (patch-ad) = ca6d5c469df91a278d594cf239424c8d9f88b305
diff --git a/emulators/gpsim/patches/patch-aa b/emulators/gpsim/patches/patch-aa
new file mode 100644
index 00000000000..86ad36a5e2d
--- /dev/null
+++ b/emulators/gpsim/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 14:43:56 agc Exp $
+
+--- gui/gui_regwin.c.orig Mon Mar 26 23:28:56 2001
++++ gui/gui_regwin.c Mon Mar 26 23:29:13 2001
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <sys/errno.h>
++#include <errno.h>
+
+ #include "../config.h"
+ #ifdef HAVE_GUI
diff --git a/emulators/gpsim/patches/patch-ab b/emulators/gpsim/patches/patch-ab
new file mode 100644
index 00000000000..a927dd79ab6
--- /dev/null
+++ b/emulators/gpsim/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 14:43:56 agc Exp $
+
+--- gui/gui_src_opcode.c.orig Mon Mar 26 23:30:11 2001
++++ gui/gui_src_opcode.c Mon Mar 26 23:30:23 2001
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <sys/errno.h>
++#include <errno.h>
+
+ #include "../config.h"
+ #ifdef HAVE_GUI
diff --git a/emulators/gpsim/patches/patch-ac b/emulators/gpsim/patches/patch-ac
new file mode 100644
index 00000000000..7766c4e53b0
--- /dev/null
+++ b/emulators/gpsim/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/27 14:43:56 agc Exp $
+
+--- configure 2001/04/27 14:23:14 1.1
++++ configure 2001/04/27 14:23:20
+@@ -2572,7 +2572,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 2574 "configure"
+ #include "confdefs.h"
+-#include <eXdbm/eXdbm.h>
++#include <eXdbm.h>
+ EOF
+ ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ { (eval echo configure:2579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
diff --git a/emulators/gpsim/patches/patch-ad b/emulators/gpsim/patches/patch-ad
new file mode 100644
index 00000000000..52c45c31418
--- /dev/null
+++ b/emulators/gpsim/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 14:43:56 agc Exp $
+
+Look for the header file in the right place.
+
+--- gui/gui_main.c 2001/04/27 14:26:21 1.1
++++ gui/gui_main.c 2001/04/27 14:27:20
+@@ -21,8 +21,13 @@
+ #include "gui.h"
+ #include "gui_interface.h"
+
++#include <sys/param.h>
++
++#if (defined(BSD) && BSD >= 199506)
++#include <eXdbm.h>
++#else
+ #include "eXdbm/eXdbm.h"
+-// #include <eXdbm.h>
++#endif
+
+ /*
+ * --- Function prototypes
diff --git a/emulators/gpsim/pkg/DESCR b/emulators/gpsim/pkg/DESCR
new file mode 100644
index 00000000000..133d585a41b
--- /dev/null
+++ b/emulators/gpsim/pkg/DESCR
@@ -0,0 +1 @@
+PIC simulator that supports X, stimulii, and modules
diff --git a/emulators/gpsim/pkg/PLIST b/emulators/gpsim/pkg/PLIST
new file mode 100644
index 00000000000..4618a64c6b7
--- /dev/null
+++ b/emulators/gpsim/pkg/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 14:43:56 agc Exp $
+bin/gpsim
+include/gpsim/12bit-instructions.h
+include/gpsim/12bit-processors.h
+include/gpsim/14bit-instructions.h
+include/gpsim/14bit-processors.h
+include/gpsim/14bit-registers.h
+include/gpsim/14bit-tmrs.h
+include/gpsim/16bit-instructions.h
+include/gpsim/16bit-processors.h
+include/gpsim/16bit-registers.h
+include/gpsim/16bit-tmrs.h
+include/gpsim/breakpoints.h
+include/gpsim/cod.h
+include/gpsim/gpsim_classes.h
+include/gpsim/gpsim_def.h
+include/gpsim/gpsim_interface.h
+include/gpsim/gpsim_time.h
+include/gpsim/fopen-path.h
+include/gpsim/interface.h
+include/gpsim/ioports.h
+include/gpsim/modules.h
+include/gpsim/p12x.h
+include/gpsim/p16x5x.h
+include/gpsim/p16x6x.h
+include/gpsim/p16x7x.h
+include/gpsim/p16x8x.h
+include/gpsim/p16f87x.h
+include/gpsim/p18x.h
+include/gpsim/packages.h
+include/gpsim/pic-instructions.h
+include/gpsim/pic-packages.h
+include/gpsim/pic-processor.h
+include/gpsim/pic-registers.h
+include/gpsim/picdis.h
+include/gpsim/stimuli.h
+include/gpsim/stimulus_orb.h
+include/gpsim/symbol.h
+include/gpsim/symbol_orb.h
+include/gpsim/tmr0.h
+include/gpsim/trace.h
+include/gpsim/trace_orb.h
+include/gpsim/uart.h
+include/gpsim/xref.h
+lib/libgpsim.a
+lib/libgpsim.la
+lib/libgpsim.so
+lib/libgpsim.so.0
+lib/libgpsim.so.0.0
+lib/libgpsimcli.a
+lib/libgpsimcli.la
+lib/libgpsimcli.so
+lib/libgpsimcli.so.0
+lib/libgpsimcli.so.0.0
+lib/libgui.a
+lib/libgui.la
+lib/libgui.so
+lib/libgui.so.0
+lib/libgui.so.0.0
+@dirrm include/gpsim