aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-06 01:23:04 +0800
committerwg <wg@FreeBSD.org>2013-09-06 01:23:04 +0800
commit5c1fbe1bc23b421d789e126f4cc702b46225edf0 (patch)
tree83ad54461323692008620445a96cc721ebaea4b9 /cad
parent1ad894dd4c1ff9cda0ff7207ba075b8992c82822 (diff)
downloadfreebsd-ports-graphics-5c1fbe1bc23b421d789e126f4cc702b46225edf0.tar.gz
freebsd-ports-graphics-5c1fbe1bc23b421d789e126f4cc702b46225edf0.tar.zst
freebsd-ports-graphics-5c1fbe1bc23b421d789e126f4cc702b46225edf0.zip
cad/irsim: update to 9.7.81
- Update to 9.7.81 - Use options helpers - USES gmake - Pass maintainership to submitter PR: ports/181843 Submitted by: Danilo EgĂȘa Gondolfo <danilogondolfo gmail.com>
Diffstat (limited to 'cad')
-rw-r--r--cad/irsim/Makefile28
-rw-r--r--cad/irsim/distinfo4
2 files changed, 14 insertions, 18 deletions
diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile
index f0831df3657..72ef241660e 100644
--- a/cad/irsim/Makefile
+++ b/cad/irsim/Makefile
@@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= irsim
-PORTVERSION= 9.7.79
+PORTVERSION= 9.7.81
CATEGORIES= cad
MASTER_SITES= http://opencircuitdesign.com/irsim/archive/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danilogondolfo@gmail.com
COMMENT= Event-driven logic-level simulator for MOS circuis
LICENSE= GPLv2
@@ -17,11 +17,18 @@ 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 --with-tcl=${TCL_LIBDIR} \
+ --with-tk=${TK_LIBDIR} --with-tclincls=${TCL_INCLUDEDIR} \
+ --with-tkincls=${TK_INCLUDEDIR} --with-tcllibs=${LOCALBASE}/lib \
+ --with-tklibs=${LOCALBASE}/lib
CONFIGURE_WRKSRC= ${WRKSRC}/scripts
+USES= gmake
USE_XORG= x11
-USE_GMAKE= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
@@ -36,21 +43,10 @@ MAN5= netchange.5
.if ${PORT_OPTIONS:MTCL}
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="" NOTCL="@comment "
+PLIST_SUB+= NOTCL="@comment "
.else
WISH= ${FALSE}
-PLIST_SUB+= TCL="@comment " NOTCL=""
-.endif
-
-.if ${PORT_OPTIONS:MSCHEME}
-CONFIGURE_ARGS+= --with-interpreter=scheme
+PLIST_SUB+= NOTCL=""
.endif
.if empty(PORT_OPTIONS:MSCHEME) && empty(PORT_OPTIONS:MTCL)
diff --git a/cad/irsim/distinfo b/cad/irsim/distinfo
index 26cd9821063..234d2613453 100644
--- a/cad/irsim/distinfo
+++ b/cad/irsim/distinfo
@@ -1,2 +1,2 @@
-SHA256 (irsim-9.7.79.tgz) = 48f639b0893eaf116d0d248b32fbc884fe5eceaba57499f22ee61e6e7c44b7eb
-SIZE (irsim-9.7.79.tgz) = 471749
+SHA256 (irsim-9.7.81.tgz) = b9a80dbc7f49b0f543d669dda30bb2f8ab8a3d0415d8165195b4ef9b010341e5
+SIZE (irsim-9.7.81.tgz) = 459240