freebsd-ports/cad/irsim/Makefile

56 lines
1.1 KiB
Makefile
Raw Normal View History

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
PORTNAME= irsim
2018-02-18 23:19:11 +01:00
PORTVERSION= 9.7.100
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://opencircuitdesign.com/irsim/archive/
MAINTAINER= danilo@FreeBSD.org
COMMENT= Event-driven logic-level simulator for MOS circuis
LICENSE= GPLv2
2012-12-11 13:40:42 +01:00
OPTIONS_RADIO= INTERPRETER
OPTIONS_RADIO_INTERPRETER= SCHEME TCL
OPTIONS_DEFAULT= SCHEME
SCHEME_DESC= Scheme interpreter
TCL_DESC= Tcl interpreter
OPTIONS_SUB= yes
SCHEME_CONFIGURE_ON= --with-interpreter=scheme
TCL_CONFIGURE_ON= --with-interpreter=tcl
TCL_USES= tk:tea
CONFIGURE_WRKSRC= ${WRKSRC}/scripts
USES= gmake tar:tgz
USE_XORG= x11
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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}
PLIST_SUB+= NOTCL="@comment "
.else
WISH= ${FALSE}
PLIST_SUB+= NOTCL=""
.endif
2003-12-09 19:19:06 +01: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>