aboutsummaryrefslogtreecommitdiff
path: root/cad/graywolf
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-03-22 10:43:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-03-22 10:43:44 +0000
commit27b38bba68fec8e8f9ddc7988873628fb3b9a699 (patch)
treef97bab0c4a018198d4a2b75c19a19a28410695cf /cad/graywolf
parent921cc69633ea159156ce5ef1d9014b13078bef8a (diff)
downloadports-27b38bba68fec8e8f9ddc7988873628fb3b9a699.tar.gz
ports-27b38bba68fec8e8f9ddc7988873628fb3b9a699.zip
New port: cad/graywolf: Fork of TimberWolf, a placement tool in VLSI design
Notes
Notes: svn path=/head/; revision=528911
Diffstat (limited to 'cad/graywolf')
-rw-r--r--cad/graywolf/Makefile23
-rw-r--r--cad/graywolf/distinfo3
-rw-r--r--cad/graywolf/files/patch-src_Ylib_timer.c26
-rw-r--r--cad/graywolf/files/patch-src_genrows_draw.c11
-rw-r--r--cad/graywolf/pkg-descr13
-rw-r--r--cad/graywolf/pkg-plist20
6 files changed, 96 insertions, 0 deletions
diff --git a/cad/graywolf/Makefile b/cad/graywolf/Makefile
new file mode 100644
index 000000000000..6ee4bb8bd004
--- /dev/null
+++ b/cad/graywolf/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= graywolf
+DISTVERSION= 0.1.6-3
+DISTVERSIONSUFFIX= -g6c5e24f
+CATEGORIES= cad
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Fork of TimberWolf, a placement tool in VLSI design
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libgsl.so:math/gsl
+
+USES= cmake pkgconfig xorg
+USE_GITHUB= yes
+GH_ACCOUNT= rubund
+USE_XORG= ice sm x11 xext
+USE_LDCONFIG= yes
+
+USE_GCC= any # lots of obviously incorrect C where clang fails, which gcc nevertheless magically finds a way to compile
+
+.include <bsd.port.mk>
diff --git a/cad/graywolf/distinfo b/cad/graywolf/distinfo
new file mode 100644
index 000000000000..7d431d9558c2
--- /dev/null
+++ b/cad/graywolf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584870522
+SHA256 (rubund-graywolf-0.1.6-3-g6c5e24f_GH0.tar.gz) = 79f8a15e8e6228bd3f5bdb5fccfdcc1b891327d6ced166eac180d523ee60662f
+SIZE (rubund-graywolf-0.1.6-3-g6c5e24f_GH0.tar.gz) = 910961
diff --git a/cad/graywolf/files/patch-src_Ylib_timer.c b/cad/graywolf/files/patch-src_Ylib_timer.c
new file mode 100644
index 000000000000..3ff8eec66dae
--- /dev/null
+++ b/cad/graywolf/files/patch-src_Ylib_timer.c
@@ -0,0 +1,26 @@
+--- src/Ylib/timer.c.orig 2018-08-23 20:02:57 UTC
++++ src/Ylib/timer.c
+@@ -58,6 +58,23 @@ REVISIONS:
+ #include <sys/timeb.h>
+ #endif /* SYS5 */
+
++#include <sys/time.h>
++
++// from /usr/src/lib/libcompat/4.1/ftime.c
++int ftime(struct timeb *tbp) {
++ struct timezone tz;
++ struct timeval t;
++
++ if (gettimeofday(&t, &tz) < 0)
++ return (-1);
++ tbp->millitm = t.tv_usec / 1000;
++ tbp->time = t.tv_sec;
++ tbp->timezone = tz.tz_minuteswest;
++ tbp->dstflag = tz.tz_dsttime;
++
++ return (0);
++}
++
+ static INT base_timeS = 0 ; /* the time in seconds at the start */
+ static INT milli_timeS ; /* the millisecond part of the start */
+ /* initialize the timer */
diff --git a/cad/graywolf/files/patch-src_genrows_draw.c b/cad/graywolf/files/patch-src_genrows_draw.c
new file mode 100644
index 000000000000..dfebb5208c73
--- /dev/null
+++ b/cad/graywolf/files/patch-src_genrows_draw.c
@@ -0,0 +1,11 @@
+--- src/genrows/draw.c.orig 2018-08-23 20:02:57 UTC
++++ src/genrows/draw.c
+@@ -1209,7 +1209,7 @@ process_graphics()
+ shortRowG = FALSE ;
+ remakerows() ;
+ draw_the_data() ;
+- if (last_chanceG) (VOID)last_chance() ;
++ if (last_chanceG) last_chance() ;
+
+ }
+
diff --git a/cad/graywolf/pkg-descr b/cad/graywolf/pkg-descr
new file mode 100644
index 000000000000..4abd8648cb40
--- /dev/null
+++ b/cad/graywolf/pkg-descr
@@ -0,0 +1,13 @@
+graywolf is a fork of TimberWolf 6.3.5
+
+TimberWolf was developed at Yale University, and was distributed as open source
+for a time until it was taken commercial. The last open-source version of
+TimberWolf does not perform detail routing, but is a professional-grade
+placement tool. In order to continue improving the open-source version, graywolf
+has been forked off from version 6.3.5 of TimberWolf.
+
+The main improvement in graywolf is that the build process is more streamlined
+and that it behaves as a normal linux tool - you can call it from anywhere and
+no environment variables must be set first.
+
+WWW: https://github.com/rubund/graywolf
diff --git a/cad/graywolf/pkg-plist b/cad/graywolf/pkg-plist
new file mode 100644
index 000000000000..29ede09ce9ed
--- /dev/null
+++ b/cad/graywolf/pkg-plist
@@ -0,0 +1,20 @@
+bin/graywolf
+lib/graywolf/bin/Mincut
+lib/graywolf/bin/TimberWolfMC
+lib/graywolf/bin/TimberWolfSC
+lib/graywolf/bin/flow/flow.noroute/macro.fdbg
+lib/graywolf/bin/flow/flow.noroute/macro.flow
+lib/graywolf/bin/flow/flow.noroute/macro.fnog
+lib/graywolf/bin/flow/flow.noroute/mixed.flow
+lib/graywolf/bin/flow/flow.noroute/mixed.fnog
+lib/graywolf/bin/flow/flow.noroute/standard.fdbg
+lib/graywolf/bin/flow/flow.noroute/standard.flow
+lib/graywolf/bin/flow/flow.noroute/standard.fnog
+lib/graywolf/bin/genrows
+lib/graywolf/bin/mc_compact
+lib/graywolf/bin/show_flows
+lib/graywolf/bin/splt_file.a
+lib/graywolf/bin/syntax
+lib/libycadgraywolf.so
+lib/libycadgraywolf.so.1
+lib/libycadgraywolf.so.1.0.0