1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 9.7.74

PR:		170138
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2012-08-05 05:03:31 +00:00
parent ec4d7f65a8
commit b4f4733606
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302054
5 changed files with 43 additions and 62 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= irsim
PORTVERSION= 9.7.72
PORTREVISION= 0
PORTVERSION= 9.7.74
CATEGORIES= cad
MASTER_SITES= http://opencircuitdesign.com/irsim/archive/
EXTRACT_SUFX= .tgz
@ -15,49 +14,62 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= An event-driven logic-level simulator for MOS circuis
LICENSE= GPLv2
OPTIONS_DEFINE= INTERPRETER
OPTIONS_SINGLE= INTERPRETER
OPTIONS_SINGLE_INTERPRETER= SCHEME TCL
OPTIONS_DEFAULT= INTERPRETER SCHEME
INTERPRETER_DESC= Enable built-in interpreter support
SCHEME_DESC= Scheme interpreter
TCL_DESC= Tcl interpreter
CONFIGURE_WRKSRC= ${WRKSRC}/scripts
USE_XORG= x11
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/scripts/
MAKE_JOBS_SAFE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= PIC_CFLAGS="-fpic" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
OPTIONS_SINGLE= INTERPRETER
OPTIONS_SINGLE_INTERPRETER= TCL SCHEME
OPTIONS_DEFAULT= SCHEME
SCHEME_DESC= Enable built-in Scheme interpreter
TCL_DESC= Enable built-in Tcl interpreter
MAN1= irsim.1
MAN3= irsim-analyzer.3
MAN5= netchange.5
TK_VER= 8.4
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTCL}
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} \
USE_TK_BUILD= yes
USE_TK= yes
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-tclincls=${TCL_INCLUDEDIR} \
--with-tkincls=${TK_INCLUDEDIR} \
--with-tcllibs=${LOCALBASE}/lib \
--with-tklibs=${LOCALBASE}/lib \
--with-interpreter=tcl
PLIST_SUB+= TCL=""
PLIST_SUB+= TCL="" NOTCL="@comment "
.else
PLIST_SUB+= TCL="@comment "
WISH= ${FALSE}
PLIST_SUB+= TCL="@comment " NOTCL=""
.endif
.if ${PORT_OPTIONS:MSCHEME}
CONFIGURE_ARGS+= --with-interpreter=scheme
PLIST_SUB+= SCHEME=""
.else
PLIST_SUB+= SCHEME="@comment "
.endif
.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|-lpthread|${PTHREAD_LIBS}| ; \
s|"-fpic"|"-fPIC"| ; \
/-l\/usr\/X11R6\/include/d' ${CONFIGURE_WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (irsim-9.7.72.tgz) = 1e783d24715d31fa3294ebef3e7c9662e13d63402fde7bbc8c327f90c91023ea
SIZE (irsim-9.7.72.tgz) = 454387
SHA256 (irsim-9.7.74.tgz) = d467e32e5c8577ffdc53a20928f9a2acfe834a7ec8148b7bccf7118481839d98
SIZE (irsim-9.7.74.tgz) = 454474

View File

@ -1,33 +0,0 @@
--- scripts/configure.orig Tue Oct 24 21:09:50 2006
+++ scripts/configure Wed Jan 10 21:17:08 2007
@@ -8180,8 +8180,9 @@
fi
if test $usingTcl ; then
+ echo "=============>$target"
case $target in
- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*)
+ *-sunos4*|*-*-netbsd|NetBSD-*|*-*-freebsd*|OpenBSD-*)
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
;;
@@ -8421,7 +8422,7 @@
#define HAVE_PTHREADS 1
_ACEOF
- gr_libs="$gr_libs -lpthread"
+ gr_libs="$gr_libs $PTHREAD_LIBS"
gr_srcs="$gr_srcs thread.c"
gr_hsrcs=""
gr_hprog=""
@@ -10258,9 +10259,8 @@
*-freebsd*)
# Not available on all versions: check for include file.
- SHLIB_CFLAGS="-fpic"
+ SHLIB_CFLAGS=${PIC_CFLAGS}
LDDL_FLAGS="-shared ${LIB_SPECS}"
- CFLAGS="${CFLAGS} -l/usr/X11R6/include"
;;
*-netbsd*|*-openbsd*)

View File

@ -4,3 +4,5 @@ To run irsim, users should set CAD_HOME to the base installation directory
where magic was installed, e.g. /usr/local. Alternatively, the system
administrator can create a dummy user named 'cad' with its home
directory set to the installation directory.
WWW: http://opencircuitdesign.com/irsim/

View File

@ -1,6 +1,6 @@
%%NOTCL%%bin/genspktbl
%%NOTCL%%bin/gentbl
bin/irsim
%%SCHEME%%bin/gentbl
%%SCHEME%%bin/genspktbl
lib/irsim/doc/irsim-analyzer.doc
lib/irsim/doc/irsim.doc
lib/irsim/doc/netchange.doc