1995-04-11 20:13:02 +00:00
|
|
|
# New ports collection makefile for: irsim
|
1994-12-19 06:01:05 +00:00
|
|
|
# Date created: 18 Dec 1994
|
|
|
|
# Whom: swallace
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1994-12-19 06:01:05 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= irsim
|
2007-09-15 12:22:39 +00:00
|
|
|
PORTVERSION= 9.7.56
|
2007-09-13 14:03:23 +00:00
|
|
|
PORTREVISION= 0
|
1996-11-15 23:31:01 +00:00
|
|
|
CATEGORIES= cad
|
2006-12-02 23:54:48 +00:00
|
|
|
MASTER_SITES= http://opencircuitdesign.com/irsim/archive/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1995-04-11 20:13:02 +00:00
|
|
|
|
2006-12-02 23:54:48 +00:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= An event-driven logic-level simulator for MOS circuis
|
1996-11-15 23:31:01 +00:00
|
|
|
|
1998-11-28 00:44:34 +00:00
|
|
|
USE_XLIB= yes
|
2006-12-02 23:54:48 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/scripts/
|
|
|
|
|
|
|
|
CFLAGS+= -I${X11BASE}/include
|
|
|
|
LDFLAGS+= -L${X11BASE}/lib
|
2007-01-10 18:21:45 +00:00
|
|
|
CONFIGURE_ENV+= PIC_CFLAGS="-fpic" LDFLAGS="${LDFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2006-12-02 23:54:48 +00:00
|
|
|
|
|
|
|
OPTIONS= SCHEME "Enable built-in Scheme interpreter" on \
|
|
|
|
TCL "Enable built-in Tcl interpreter" off
|
|
|
|
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= irsim.1
|
|
|
|
MAN3= irsim-analyzer.3
|
|
|
|
MAN5= netchange.5
|
1994-12-19 06:01:05 +00:00
|
|
|
|
2006-12-02 23:54:48 +00:00
|
|
|
TK_VER= 8.4
|
|
|
|
|
2003-10-16 02:26:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-12-02 23:54:48 +00:00
|
|
|
.if defined(WITH_TCL) && !defined(WITHOUT_SCHEME)
|
|
|
|
IGNORE= you should select only one interpreter
|
|
|
|
.elif !defined(WITH_TCL) && defined(WITHOUT_SCHEME)
|
|
|
|
IGNORE= you should select at least one interpreter
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_TCL)
|
|
|
|
LIB_DEPENDS+= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
|
|
|
|
--with-tk=${LOCALBASE}/lib/tk${TK_VER} \
|
|
|
|
--with-tcllibs=${LOCALBASE}/lib/ \
|
|
|
|
--with-tklibs=${LOCALBASE}/lib/ \
|
|
|
|
--with-tclincls=${LOCALBASE}/include/tcl${TK_VER} \
|
|
|
|
--with-tkincls=${LOCALBASE}/include/tk${TK_VER} \
|
|
|
|
--with-interpreter=tcl
|
|
|
|
PLIST_SUB+= TCL=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= TCL="@comment "
|
|
|
|
.endif
|
1996-12-06 23:24:36 +00:00
|
|
|
|
2006-12-02 23:54:48 +00:00
|
|
|
.if !defined(WITHOUT_SCHEME)
|
|
|
|
CONFIGURE_ARGS+= --with-interpreter=scheme
|
|
|
|
PLIST_SUB+= SCHEME=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SCHEME="@comment "
|
|
|
|
.endif
|
2003-12-09 18:19:06 +00:00
|
|
|
|
2003-10-16 02:26:47 +00:00
|
|
|
.include <bsd.port.post.mk>
|