diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 03:25:27 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 03:25:27 +0800 |
commit | 0ba202dc2eba45b2c3c024175ca709df6ab42170 (patch) | |
tree | f08f690f9d06f9f690cadf02dec49028884933b1 /cad | |
parent | ea55f3b2bed649895d0a305157d049811de8af05 (diff) | |
download | marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.tar marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.tar.gz marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.tar.bz2 marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.tar.lz marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.tar.xz marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.tar.zst marcuscom-ports-0ba202dc2eba45b2c3c024175ca709df6ab42170.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9239 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'cad')
-rw-r--r-- | cad/oregano/Makefile | 46 | ||||
-rw-r--r-- | cad/oregano/distinfo | 3 | ||||
-rw-r--r-- | cad/oregano/files/patch-SConstruct | 11 | ||||
-rw-r--r-- | cad/oregano/files/patch-src__engines__netlist.c | 13 | ||||
-rw-r--r-- | cad/oregano/files/patch-src__model__node-store.c | 24 | ||||
-rw-r--r-- | cad/oregano/files/patch-src__print.c | 10 | ||||
-rw-r--r-- | cad/oregano/files/patch-src__schematic-view.c | 19 | ||||
-rw-r--r-- | cad/oregano/files/patch-src__sheet__wire-item.c | 12 | ||||
-rw-r--r-- | cad/oregano/pkg-descr | 5 | ||||
-rw-r--r-- | cad/oregano/pkg-plist | 79 |
10 files changed, 222 insertions, 0 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile new file mode 100644 index 000000000..6fe7e62ad --- /dev/null +++ b/cad/oregano/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: oregano +# Date created: 19 Feb 2001 +# Whom: Anders Andersson <anders@hack.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= oregano +PORTVERSION= 0.60.0 +PORTREVISION= 4 +CATEGORIES= cad gnome +MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/84/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Schematic capture and simulation of electrical circuits + +BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons + +USE_BZIP2= yes +USE_XLIB= yes +USE_GETTEXT= yes +USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \ + libgnomeprintui libgnomeui +USE_SCONS= yes +INSTALLS_OMF= yes + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -e "s|-Wall|${CFLAGS}|g" ${WRKSRC}/SConstruct + +post-install: + @${STRIP_CMD} ${PREFIX}/bin/oregano +.for lang in C es fr + @${MKDIR} ${PREFIX}/share/gnome/help/oregano/${lang} + ${INSTALL_DATA} ${WRKSRC}/help/${lang}/*.xml \ + ${PREFIX}/share/gnome/help/oregano/${lang} + @${MKDIR} ${PREFIX}/share/omf/oregano + ${INSTALL_DATA} ${WRKSRC}/help/${lang}/*.omf \ + ${PREFIX}/share/omf/oregano +.endfor + ${INSTALL_DATA} ${WRKSRC}/gnome-oregano.svg \ + ${PREFIX}/share/pixmaps/gnome-oregano.svg + +.include <bsd.port.post.mk> diff --git a/cad/oregano/distinfo b/cad/oregano/distinfo new file mode 100644 index 000000000..a03e7ad34 --- /dev/null +++ b/cad/oregano/distinfo @@ -0,0 +1,3 @@ +MD5 (oregano-0.60.0.tar.bz2) = 576942f1b6d3348f16d2eff085eb03f4 +SHA256 (oregano-0.60.0.tar.bz2) = 1c6ee75a5b8d5926064ad8a953dc70bf858b8a47a951e9998dcde3233680a6d2 +SIZE (oregano-0.60.0.tar.bz2) = 525514 diff --git a/cad/oregano/files/patch-SConstruct b/cad/oregano/files/patch-SConstruct new file mode 100644 index 000000000..b4aa64e4d --- /dev/null +++ b/cad/oregano/files/patch-SConstruct @@ -0,0 +1,11 @@ +--- SConstruct.orig Thu Mar 29 10:35:45 2007 ++++ SConstruct Thu Mar 29 10:36:06 2007 +@@ -10,7 +10,7 @@ + opts = Options ('oregano.py'); + opts.Add (BoolOption ('RunUpdateMimeDatabase', 'Set to no if you don\'t want to run update-mime-database', 1)); + opts.Add (BoolOption ('Debug', 'Set to yes you want to compile with debug symbolse', 0)); +-opts.Add (PathOption ('PREFIX', 'System base prefix path', '/usr/local')); ++opts.Add (PathOption ('PREFIX', 'System base prefix path', '/usr/local', PathOption.PathIsDirCreate)); + opts.Add (PackageOption ('DESTDIR', 'System base installation path', '/')); + + # Dependencies # diff --git a/cad/oregano/files/patch-src__engines__netlist.c b/cad/oregano/files/patch-src__engines__netlist.c new file mode 100644 index 000000000..60d280468 --- /dev/null +++ b/cad/oregano/files/patch-src__engines__netlist.c @@ -0,0 +1,13 @@ +--- src/engines/netlist.c.orig Sat Sep 30 13:47:23 2006 ++++ src/engines/netlist.c Sat Sep 30 21:26:42 2006 +@@ -628,9 +628,9 @@ + GList *parts; + GList *p; + gchar *prop, *type, *ac; +- parts = node_store_get_parts (store); + GString *out; + gchar *ret; ++ parts = node_store_get_parts (store); + + out = g_string_new (""); + diff --git a/cad/oregano/files/patch-src__model__node-store.c b/cad/oregano/files/patch-src__model__node-store.c new file mode 100644 index 000000000..d4a39e524 --- /dev/null +++ b/cad/oregano/files/patch-src__model__node-store.c @@ -0,0 +1,24 @@ +--- src/model/node-store.c.orig Wed May 24 14:16:30 2006 ++++ src/model/node-store.c Wed May 24 19:07:00 2006 +@@ -432,9 +432,9 @@ + SheetPos w_pos, w_length; + gboolean can_join; + GSList *nodes; ++ gdouble _x1, _x2, _y1, _y2; + + wire_get_pos_and_length (ipoint->wire, &w_pos, &w_length); +- gdouble _x1, _x2, _y1, _y2; + + _x1 = w_pos.x; + _y1 = w_pos.y; +@@ -481,9 +481,9 @@ + SheetPos w_pos, w_length; + gboolean can_join; + GSList *nodes; ++ gdouble _x1, _x2, _y1, _y2; + + wire_get_pos_and_length (ipoint->wire, &w_pos, &w_length); +- gdouble _x1, _x2, _y1, _y2; + + _x1 = w_pos.x; + _y1 = w_pos.y; diff --git a/cad/oregano/files/patch-src__print.c b/cad/oregano/files/patch-src__print.c new file mode 100644 index 000000000..5c8497747 --- /dev/null +++ b/cad/oregano/files/patch-src__print.c @@ -0,0 +1,10 @@ +--- src/print.c.orig Thu Mar 29 10:30:23 2007 ++++ src/print.c Thu Mar 29 10:30:26 2007 +@@ -31,6 +31,7 @@ + #include <math.h> + #include <gnome.h> + #include <libgnomeprint/gnome-print.h> ++#include <libgnomeprint/gnome-print-paper.h> + #include "schematic.h" + #include "schematic-view.h" + #include "sheet.h" diff --git a/cad/oregano/files/patch-src__schematic-view.c b/cad/oregano/files/patch-src__schematic-view.c new file mode 100644 index 000000000..c7fd3c690 --- /dev/null +++ b/cad/oregano/files/patch-src__schematic-view.c @@ -0,0 +1,19 @@ +--- src/schematic-view.c.orig Wed May 24 14:16:30 2006 ++++ src/schematic-view.c Wed May 24 21:39:29 2006 +@@ -1849,6 +1849,7 @@ + int i=0; + while (files[i]) { + Schematic *new_sm = NULL; ++ gchar *fname = files[i]; + int l = strlen(files[i]); + /* Algo queda mal al final luego del split, agrego un \0 */ + files[i][l-1] = '\0'; +@@ -1858,8 +1859,6 @@ + i++; + continue; + } +- +- gchar *fname = files[i]; + + new_sm = schematic_read (fname, &error); + if (new_sm) { diff --git a/cad/oregano/files/patch-src__sheet__wire-item.c b/cad/oregano/files/patch-src__sheet__wire-item.c new file mode 100644 index 000000000..e6c85906d --- /dev/null +++ b/cad/oregano/files/patch-src__sheet__wire-item.c @@ -0,0 +1,12 @@ +--- src/sheet/wire-item.c.orig Wed May 24 14:16:30 2006 ++++ src/sheet/wire-item.c Wed May 24 21:13:43 2006 +@@ -363,8 +363,8 @@ + case GDK_BUTTON_PRESS: + switch (event->button.button) { + case 1: { +- g_signal_stop_emission_by_name (G_OBJECT (sheet), "event"); + double x, y; ++ g_signal_stop_emission_by_name (G_OBJECT (sheet), "event"); + x = event->button.x - start_pos.x; + y = event->button.y - start_pos.y; + if ((x > -RESIZER_SIZE) && (x < RESIZER_SIZE) && diff --git a/cad/oregano/pkg-descr b/cad/oregano/pkg-descr new file mode 100644 index 000000000..6de9aa1ca --- /dev/null +++ b/cad/oregano/pkg-descr @@ -0,0 +1,5 @@ +Oregano is a tool for schematic capture and simulation of electrical +circuits. It simplifies design of simple circuits by letting the user +draw the circuit and then simulate its electrical characteristics. + +WWW: http://arrakis.gforge.lug.fi.uba.ar/ diff --git a/cad/oregano/pkg-plist b/cad/oregano/pkg-plist new file mode 100644 index 000000000..eec9c6f84 --- /dev/null +++ b/cad/oregano/pkg-plist @@ -0,0 +1,79 @@ +bin/oregano +share/applications/oregano.desktop +share/gnome/help/oregano/C/legal.xml +share/gnome/help/oregano/C/oregano.xml +share/gnome/help/oregano/es/legal.xml +share/gnome/help/oregano/es/oregano.xml +share/gnome/help/oregano/fr/legal.xml +share/gnome/help/oregano/fr/oregano.xml +share/mime-info/oregano.keys +share/mime-info/oregano.mime +share/omf/oregano/oregano-C.omf +share/omf/oregano/oregano-es.omf +share/omf/oregano/oregano-fr.omf +share/oregano/dialogs/clamp-properties-dialog.glade2 +share/oregano/dialogs/log-window.glade2 +share/oregano/dialogs/page-properties.glade2 +share/oregano/dialogs/part-browser.glade2 +share/oregano/dialogs/part-properties-dialog.glade2 +share/oregano/dialogs/plot-add-function.glade2 +share/oregano/dialogs/plot-export.glade2 +share/oregano/dialogs/plot-window.glade2 +share/oregano/dialogs/properties.glade2 +share/oregano/dialogs/settings.glade2 +share/oregano/dialogs/sim-settings.glade2 +share/oregano/dialogs/simulation.glade2 +share/oregano/dialogs/splash.glade2 +share/oregano/dialogs/splash.xpm +share/oregano/dialogs/textbox-properties-dialog.glade2 +share/oregano/dialogs/view-netlist.glade2 +share/oregano/examples/Full-wave bridge rectifier.oregano +share/oregano/examples/carga_capacitor.oregano +share/oregano/examples/opamp.oregano +share/oregano/examples/opamp_ideal.oregano +share/oregano/examples/pasa_altos.oregano +share/oregano/examples/simple.oregano +share/oregano/examples/simple2.oregano +share/oregano/libraries/cmos.oreglib +share/oregano/libraries/cpu.oreglib +share/oregano/libraries/default.oreglib +share/oregano/libraries/interface.oreglib +share/oregano/libraries/linear.oreglib +share/oregano/libraries/memory.oreglib +share/oregano/libraries/miscellaneous.oreglib +share/oregano/libraries/opamplib.oreglib +share/oregano/libraries/peripheral.oreglib +share/oregano/libraries/power.oreglib +share/oregano/libraries/ttl.oreglib +share/oregano/models/12AX7A.model +share/oregano/models/1N750.model +share/oregano/models/DiodeBridge.model +share/oregano/models/NPN.model +share/oregano/models/PNP.model +share/oregano/models/TLC555.model +share/oregano/models/UA741.model +share/pixmaps/gnome-oregano.svg +share/locale/ca/LC_MESSAGES/oregano.mo +share/locale/de/LC_MESSAGES/oregano.mo +share/locale/es/LC_MESSAGES/oregano.mo +share/locale/fr/LC_MESSAGES/oregano.mo +share/locale/it/LC_MESSAGES/oregano.mo +share/locale/ja/LC_MESSAGES/oregano.mo +share/locale/pl/LC_MESSAGES/oregano.mo +share/locale/pt_BR/LC_MESSAGES/oregano.mo +share/locale/ro/LC_MESSAGES/oregano.mo +share/locale/ru/LC_MESSAGES/oregano.mo +share/locale/sv/LC_MESSAGES/oregano.mo +share/mime/packages/oregano.xml +@dirrm share/oregano/models +@dirrm share/oregano/libraries +@dirrm share/oregano/examples +@dirrm share/oregano/dialogs +@dirrm share/oregano +@dirrm share/omf/oregano +@dirrm share/gnome/help/oregano/fr +@dirrm share/gnome/help/oregano/es +@dirrm share/gnome/help/oregano/C +@dirrm share/gnome/help/oregano +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime |