2012-12-11 13:40:42 +01:00
|
|
|
# Created by: 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
|
2018-02-18 23:19:11 +01:00
|
|
|
PORTVERSION= 9.7.100
|
2018-06-26 04:28:18 +02:00
|
|
|
PORTREVISION= 1
|
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/
|
1995-04-11 22:13:02 +02:00
|
|
|
|
2013-09-25 07:28:35 +02:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2013-01-21 04:34:12 +01:00
|
|
|
COMMENT= Event-driven logic-level simulator for MOS circuis
|
1996-11-16 00:31:01 +01:00
|
|
|
|
2012-08-05 07:03:31 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-12-11 13:40:42 +01:00
|
|
|
OPTIONS_RADIO= INTERPRETER
|
|
|
|
OPTIONS_RADIO_INTERPRETER= SCHEME TCL
|
|
|
|
OPTIONS_DEFAULT= SCHEME
|
2012-08-05 07:03:31 +02:00
|
|
|
SCHEME_DESC= Scheme interpreter
|
|
|
|
TCL_DESC= Tcl interpreter
|
2013-09-05 19:23:04 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
SCHEME_CONFIGURE_ON= --with-interpreter=scheme
|
2016-04-21 13:33:16 +02:00
|
|
|
TCL_CONFIGURE_ON= --with-interpreter=tcl
|
|
|
|
TCL_USES= tk:tea
|
2012-08-05 07:03:31 +02:00
|
|
|
|
|
|
|
CONFIGURE_WRKSRC= ${WRKSRC}/scripts
|
|
|
|
|
2016-04-21 13:33:16 +02:00
|
|
|
USES= gmake tar:tgz
|
- 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
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
- 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
|
2006-12-03 00:54:48 +01:00
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2003-10-16 04:26:47 +02:00
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
.if ${PORT_OPTIONS:MTCL}
|
2013-09-05 19:23:04 +02:00
|
|
|
PLIST_SUB+= NOTCL="@comment "
|
2006-12-03 00:54:48 +01:00
|
|
|
.else
|
2012-08-05 07:03:31 +02:00
|
|
|
WISH= ${FALSE}
|
2013-09-05 19:23:04 +02:00
|
|
|
PLIST_SUB+= NOTCL=""
|
2006-12-03 00:54:48 +01:00
|
|
|
.endif
|
2003-12-09 19:19:06 +01:00
|
|
|
|
2012-08-05 07:03:31 +02:00
|
|
|
.if empty(PORT_OPTIONS:MSCHEME) && empty(PORT_OPTIONS:MTCL)
|
|
|
|
CONFIGURE_ARGS+= --with-interpreter=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|FreeBSD-\*|*-*-freebsd*| ; \
|
|
|
|
s|wish |${WISH:T} | ; \
|
|
|
|
s|"-fpic"|"-fPIC"| ; \
|
|
|
|
/-l\/usr\/X11R6\/include/d' ${CONFIGURE_WRKSRC}/configure
|
|
|
|
|
2012-06-01 15:18:21 +02:00
|
|
|
.include <bsd.port.mk>
|