1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/cad/irsim/Makefile

67 lines
1.6 KiB
Makefile
Raw Normal View History

# 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
#
PORTNAME= irsim
2007-09-15 12:22:39 +00:00
PORTVERSION= 9.7.56
2007-09-13 14:03:23 +00:00
PORTREVISION= 0
CATEGORIES= cad
MASTER_SITES= http://opencircuitdesign.com/irsim/archive/
EXTRACT_SUFX= .tgz
MAINTAINER= stas@FreeBSD.org
2003-02-20 17:07:10 +00:00
COMMENT= An event-driven logic-level simulator for MOS circuis
USE_XLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/scripts/
CFLAGS+= -I${X11BASE}/include
LDFLAGS+= -L${X11BASE}/lib
CONFIGURE_ENV+= PIC_CFLAGS="-fpic" LDFLAGS="${LDFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
OPTIONS= SCHEME "Enable built-in Scheme interpreter" on \
TCL "Enable built-in Tcl interpreter" off
MAN1= irsim.1
MAN3= irsim-analyzer.3
MAN5= netchange.5
1994-12-19 06:01:05 +00:00
TK_VER= 8.4
2003-10-16 02:26:47 +00:00
.include <bsd.port.pre.mk>
.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
.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>