1995-04-11 22:13:02 +02:00
|
|
|
# New ports collection makefile for: irsim
|
1994-12-19 07:01:05 +01:00
|
|
|
# Date created: 18 Dec 1994
|
|
|
|
# Whom: swallace
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1994-12-19 07:01:05 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= irsim
|
2009-12-15 05:00:14 +01:00
|
|
|
PORTVERSION= 9.7.72
|
2008-05-15 10:52:12 +02:00
|
|
|
PORTREVISION= 0
|
1996-11-16 00:31:01 +01:00
|
|
|
CATEGORIES= cad
|
2006-12-03 00:54:48 +01:00
|
|
|
MASTER_SITES= http://opencircuitdesign.com/irsim/archive/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1995-04-11 22:13:02 +02:00
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= An event-driven logic-level simulator for MOS circuis
|
1996-11-16 00:31:01 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2006-12-03 00:54:48 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/scripts/
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV+= PIC_CFLAGS="-fpic" \
|
2007-01-10 19:21:45 +01:00
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2006-12-03 00:54:48 +01:00
|
|
|
|
|
|
|
OPTIONS= SCHEME "Enable built-in Scheme interpreter" on \
|
|
|
|
TCL "Enable built-in Tcl interpreter" off
|
|
|
|
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN1= irsim.1
|
|
|
|
MAN3= irsim-analyzer.3
|
|
|
|
MAN5= netchange.5
|
1994-12-19 07:01:05 +01:00
|
|
|
|
2006-12-03 00:54:48 +01:00
|
|
|
TK_VER= 8.4
|
|
|
|
|
2003-10-16 04:26:47 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-12-03 00:54:48 +01: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-07 00:24:36 +01:00
|
|
|
|
2006-12-03 00:54:48 +01:00
|
|
|
.if !defined(WITHOUT_SCHEME)
|
|
|
|
CONFIGURE_ARGS+= --with-interpreter=scheme
|
|
|
|
PLIST_SUB+= SCHEME=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SCHEME="@comment "
|
|
|
|
.endif
|
2003-12-09 19:19:06 +01:00
|
|
|
|
2003-10-16 04:26:47 +02:00
|
|
|
.include <bsd.port.post.mk>
|