kn 9deab2be30 Import cad/xschem
Xschem is a schematic capture program, it allows creation of
hierarchical representation of circuits with a top down approach. By
focusing on interfaces, hierarchy and instance properties a complex
system can be described in terms of simpler building blocks.

A VHDL or Verilog or Spice netlist can be generated from the drawn
schematic, allowing the simulation of the circuit. Key feature of the
program is its drawing engine written in C and using directly the Xlib
drawing primitives; this gives very good speed performance, even on
very big circuits. The user interface is built with the Tcl-Tk
toolkit, tcl is also the extension language used.

Netlist can be exported in tEDAx format which can then be used by
pcb-rnd to design a printed circuit board.


From Hannu Vuolasaho <vuokkosetae [at] gmail.com> who takes mainainer.

Feedback from me, OK rsadowski
2019-01-04 20:35:47 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/01/04 20:35:47 kn Exp $
COMMENT = hierarchical schematic capture program
DISTNAME = xschem-2.8.1
CATEGORIES = cad
HOMEPAGE = http://repo.hu/projects/xschem/
MAINTAINER = Hannu Vuolasaho <vuokkosetae@gmail.com>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = ${MODTK_WANTLIB} X11 X11-xcb Xpm Xrender
WANTLIB += c cairo m xcb xcb-render
MASTER_SITES = http://repo.hu/projects/xschem/releases/
MODULES = x11/tk
MODTK_VERSION = 8.5
BUILD_DEPENDS = devel/bison
RUN_DEPENDS = ${MODTK_RUN_DEPENDS}
LIB_DEPENDS = ${MODTK_LIB_DEPENDS} \
graphics/cairo
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = --cflags/libs/script/tcl="${CFLAGS} -I${MODTCL_INCDIR}" \
--ldflags/libs/script/tcl="-L${LOCALBASE}/lib" \
--cflags/libs/script/tk="${CFLAGS} -I${MODTK_INCDIR}" \
--prefix="${LOCALBASE}" \
/arg/tk-version=${MODTK_VERSION}
FAKE_FLAGS = MANDIR="${DESTDIR}${PREFIX}/man"
NO_TEST = Yes
pre-configure:
${MODTCL_WISH_ADJ} ${WRKSRC}/src/xschem.tcl ${WRKSRC}/utile/utile.tcl
${SUBST_CMD} ${WRKSRC}/doc/manpages/xschem.1
.include <bsd.port.mk>