Hi Alessandro -- On 08/19/18 11:03, Alessandro DE LAURENZIS wrote:
Dear ports@ readers,enclosed please find a port for qrouter [1], the tool required by Qflow [2] for routing:[... snip ...] $ pkg_info qrouter Information for inst:qrouter-1.3.104 Comment: multi-level, over-the-cell maze router for VLSI design Description: Qrouter is a tool to generate metal layers and vias to physically connect together a netlist in a VLSI fabrication technology. It is a maze router, otherwise known as an "over-the-cell" router or "sea-of-gates" router. That is, unlike a channel router, it begins with a description of placed standard cells, usually packed together at minimum spacing, and places metal routes over the standard cells. Qrouter uses the open standard LEF and DEF formats as file input and output. It takes the cell definitions from a LEF file, and analyzes the geometry for each cell to determine contact points and route obstructions. It then reads the cell placement, pin placement, and netlist from a DEF file, performs the detailed route, and writes an annotated DEF file as output. Maintainer: Alessandro De Laurenzis <[email protected]> WWW: http://opencircuitdesign.com/qrouter/ [... snip ...]This port is very similar to cad/xcircuit (same author, same overall "style", but older code), so I tried to stay as close as possible to the correspondent Makefile.There are two branches, "stable" and "development"; choosing the former should reduce the maintainer's work :-), so the port is for the stable latest release, 1.3.104.configure.in and qrouter.h must be lightly patched in order to behave correctly when the __OpenBSD__ identifier is present.I also patched Makefile.in since it seems that ${X_LIBS} is missing from a target which requires it (I'll report this to upstream in the coming days).Compiles and runs correctly on amd64, lightly tested in Qflow. Of course, I step-up for maintainership. [1] http://opencircuitdesign.com/qrouter/index.html [2] https://marc.info/?l=openbsd-ports&m=153270090320035&w=2
I made only a few small changes: * Changed the license marker to GPLv2 only.* Wrote out the MASTER_SITES line fully. There was a discussion a few years ago about discouraging the MASTER_SITES=${HOMEPAGE}/something idiom. * I added two new patches, adding stdarg.h in two files. There were some warnings that va_list was being used as an implicit int since it didn't have a definition. That's definitely worth changing.
I think that's all I did. Tarball with those changes attached. ~Brian
qrouter.tgz
Description: Binary data
