openbsd-ports/cad/chipmunk/Makefile
pvalchev 7913918505 Import of chipmunk-1.57
Tools for schematic capture, netlist creation, and analog and digital
simulation (log), IC mask layout, extraction, and DRC (wol), simple
chip compilation (wolcomp), MOSIS fabrication request generation
(mosis), netlist comparison (netcmp), data plotting (view) and
postscript graphics editing (until). These tools were used exclusively
for the design and test of all the integrated circuits described in
Carver Mead's book "Analog VLSI and Neural Systems".  Until was used
as the primary tool for figure creation for the book.  The directory
also contains an example of an analog VLSI chip that was designed and
fabricated with these tools, and an example of an Actel
field-programmable gate array design that was simulated and converted
to Actel format with these tools (example).

These tools were originally written for HP 200 Series ("Chipmunk")
computers, and were later ported to Unix and the X Window System.
2003-10-25 18:33:27 +00:00

65 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
COMMENT= "electronic CAD system"
PKGNAME= chipmunk-1.57
DISTNAME= psys-1.57
DISTFILES= psys-1.57.tar.gz webdoc1.46.tar.gz log-5.61.tar.gz \
view-1.13.tar.gz until-1.13.tar.gz wol-1.13.tar.gz \
wolcomp-1.13.tar.gz
CATEGORIES= cad
HOMEPAGE= http://www.pcmp.caltech.edu/chipmunk/
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/
DIST_SUBDIR= chipmunk
WRKDIST= ${WRKDIR}
ALL_TARGET= makeonly
LDIR= ${LOCALBASE}/share/chipmunk/
MAKE_FLAGS= CHIPMUNKCC="${CC} ${CFLAGS}" XINCLUDEDIR="${X11BASE}/include" \
CHIPMUNKFLAGS="-DBSD -Dfreebsd -Dlinux -DF_OK=0" \
LIBX11="-L${X11BASE}/lib -lX11" \
CHIPLIB="${LDIR}" \
LOGLIBDIR="${LDIR}" \
LIBDIR="${LDIR}" \
WOLLIBDIR="${LDIR}" \
UNTILPSMAP="${LDIR}/pensps.map"
FAKE_FLAGS= ${MAKE_FLAGS}
USE_X11= Yes
NO_REGRESS= Yes
post-extract:
@cp ${FILESDIR}/Makefile ${WRKDIR}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chipmunk
${INSTALL_DATA} ${WRKSRC}/psys/src/texstuff.ps ${PREFIX}/share/doc/chipmunk/
${INSTALL_DATA} ${WRKSRC}/psys/src/untilstuff.ps ${PREFIX}/share/doc/chipmunk/
${INSTALL_PROGRAM} ${WRKSRC}/log/src/log ${PREFIX}/bin/diglog
${INSTALL_PROGRAM} ${WRKSRC}/log/src/log ${PREFIX}/bin/analog
${INSTALL_PROGRAM} ${WRKSRC}/log/src/loged ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/log/src/fixfet7 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/wol/wol ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/until/V1.2/until ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/until/V1.2/pensps.map ${PREFIX}/share/doc/chipmunk/
${INSTALL_DATA} ${WRKSRC}/until/V1.2/system.untilrc ${PREFIX}/share/doc/chipmunk/
${INSTALL_DATA} ${WRKSRC}/until/V1.2/until.pro ${PREFIX}/share/doc/chipmunk/
${INSTALL_DATA} ${WRKSRC}/until/V1.2/until.ps ${PREFIX}/share/doc/chipmunk/
${INSTALL_DATA} ${WRKSRC}/view/view ${PREFIX}/bin/cview
${INSTALL_DATA_DIR} ${PREFIX}/share/chipmunk
${INSTALL_DATA} ${WRKSRC}/log/lib/*.* ${PREFIX}/share/chipmunk
${INSTALL_DATA} ${WRKSRC}/view/lib/* ${PREFIX}/share/chipmunk
.include <bsd.port.mk>