From owner-svn-ports-all@FreeBSD.ORG Fri Aug 22 11:08:49 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34743717; Fri, 22 Aug 2014 11:08:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FE9D333E; Fri, 22 Aug 2014 11:08:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7MB8m73078387; Fri, 22 Aug 2014 11:08:48 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7MB8m5i078384; Fri, 22 Aug 2014 11:08:48 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201408221108.s7MB8m5i078384@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Fri, 22 Aug 2014 11:08:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365638 - in head/cad/spice: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2014 11:08:49 -0000 Author: hrs Date: Fri Aug 22 11:08:48 2014 New Revision: 365638 URL: http://svnweb.freebsd.org/changeset/ports/365638 QAT: https://qat.redports.org/buildarchive/r365638/ Log: Add BSIM4v4 support. Modified: head/cad/spice/Makefile head/cad/spice/distinfo head/cad/spice/files/Makefile Modified: head/cad/spice/Makefile ============================================================================== --- head/cad/spice/Makefile Fri Aug 22 11:04:23 2014 (r365637) +++ head/cad/spice/Makefile Fri Aug 22 11:08:48 2014 (r365638) @@ -7,9 +7,11 @@ PORTREVISION= 11 CATEGORIES= cad MASTER_SITES= http://embedded.eecs.berkeley.edu/pubs/downloads/spice/:srcs \ http://www-device.eecs.berkeley.edu/~bsim/Files/BSIM3/ftpv330/src/:bsim3 \ + http://www-device.eecs.berkeley.edu/~bsim/Files/BSIM4/BSIM480/:bsim4 \ LOCAL/hrs/${PORTNAME}:docs DISTFILES= spice3f5${EXTRACT_SUFX}:srcs \ BSIM3v330.tar.Z:bsim3 \ + BSIM480_Code.zip:bsim4 \ cp.ps:docs toc.ps:docs doc.ps:docs DIST_SUBDIR= spice EXTRACT_ONLY= spice3f5${EXTRACT_SUFX} @@ -20,6 +22,8 @@ COMMENT= General-purpose circuit simulat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT +EXTRACT_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip + WRKSRC= ${WRKDIR}/${PORTNAME}3f5 MAKEFILE= ${FILESDIR}/Makefile CONFIGURE_ENV= CONFIGFILE="${WRKSRC}/conf/FreeBSD" \ @@ -32,22 +36,30 @@ PORTEXAMPLES= bjtnoise.cir bsim1tst.cir process.pro pz2.cir pzt.cir rc.cir rca3040.cir resnoise.cir \ rtlinv.cir schmitt.cir simplepz.cir -OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 +OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 OPTIONS_DEFAULT=DOCS EXAMPLES X11 X11_USE= XORG=x11,xaw,xext,xmu,xt X11_CONFIGURE_ENV= WITH_X11=yes DEV_BSIM3_DESC= BSIM3v3 MOS Transistor Model Support DEV_BSIM3_CONFIGURE_ENV=DEV_BSIM3=yes +DEV_BSIM4_DESC= BSIM4v4 MOS Transistor Model Support +DEV_BSIM4_CONFIGURE_ENV=DEV_BSIM4=yes .include -.if ${PORT_OPTIONS:MDEV_BSIM3} post-extract: + @${DO_NADA} +.if ${PORT_OPTIONS:MDEV_BSIM3} @${MKDIR} ${WRKSRC}/src/lib/dev/bsim3 ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/BSIM3v330.tar.Z \ -C ${WRKSRC}/src/lib/dev/bsim3 .endif +.if ${PORT_OPTIONS:MDEV_BSIM4} + @${MKDIR} ${WRKSRC}/src/lib/dev/bsim4 + ${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/BSIM480_Code.zip \ + -d ${WRKSRC}/src/lib/dev/bsim4 +.endif do-configure: @${SETENV} ${CONFIGURE_ENV} ${MAKE} -f ${MAKEFILE} configure Modified: head/cad/spice/distinfo ============================================================================== --- head/cad/spice/distinfo Fri Aug 22 11:04:23 2014 (r365637) +++ head/cad/spice/distinfo Fri Aug 22 11:08:48 2014 (r365638) @@ -2,6 +2,10 @@ SHA256 (spice/spice3f5.tar.gz) = cac11fe SIZE (spice/spice3f5.tar.gz) = 1226185 SHA256 (spice/BSIM3v330.tar.Z) = 3d8d1739c5fb7f1e56af70e5dc05a6f9014d0954a4f3c1bcf778a494ae0087b2 SIZE (spice/BSIM3v330.tar.Z) = 113719 +SHA256 (spice/BSIM480_Code.zip) = 76850257fefc9d76369538ba5aa1cac7b09fb98311c39564e9e6d044b49db9c8 +SIZE (spice/BSIM480_Code.zip) = 158442 +SHA256 (spice/BSIM6.1.0_Release_March20_2014.zip) = 664e6c2138b35f45f8883a74557abff3b18f59e9da7d89adc30d0c854919c423 +SIZE (spice/BSIM6.1.0_Release_March20_2014.zip) = 1060937 SHA256 (spice/cp.ps) = 3bab6c3487def4ce2e817bf7ef3c1a7d199ea8e790da3a786f936872b35d0920 SIZE (spice/cp.ps) = 10297 SHA256 (spice/toc.ps) = 22228246f98f38e39a22911251fa52782ca6a2a7fb273fd78cf3da833d1f52e8 Modified: head/cad/spice/files/Makefile ============================================================================== --- head/cad/spice/files/Makefile Fri Aug 22 11:04:23 2014 (r365637) +++ head/cad/spice/files/Makefile Fri Aug 22 11:08:48 2014 (r365638) @@ -16,9 +16,11 @@ INTERFACE_OPTS+=-DWANT_X11 VARLIST+= INCX LIBX .endif X_DIR= ${LOCALBASE} -.if defined(DEV_BSIM3) && !empty(DEV_BSIM3) -DEVLIST+= bsim3 -.endif +.for D in BSIM3 BSIM4 +. if defined(DEV_$D) && !empty(DEV_$D) +DEVLIST+= ${D:tl} +. endif +.endfor configure: rm -f ${CONFIGFILE} @@ -26,7 +28,7 @@ configure: echo "$V=${${V}}" >> ${CONFIGFILE} .endfor .for V in ${DEVLIST} - echo "$V+=${${V}}" >> ${CONFIGFILE} + echo "DEVICES+=${V}" >> ${CONFIGFILE} .endfor PREFIX?= /usr/local