Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2015 13:33:39 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379035 - in head/cad/spice: . files
Message-ID:  <201502151333.t1FDXdGc041964@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sun Feb 15 13:33:38 2015
New Revision: 379035
URL: https://svnweb.freebsd.org/changeset/ports/379035
QAT: https://qat.redports.org/buildarchive/r379035/

Log:
  - Fix device support.  The previous version was totally broken.
  - Fix help(1).

Modified:
  head/cad/spice/Makefile
  head/cad/spice/files/Makefile
  head/cad/spice/pkg-plist

Modified: head/cad/spice/Makefile
==============================================================================
--- head/cad/spice/Makefile	Sun Feb 15 13:33:25 2015	(r379034)
+++ head/cad/spice/Makefile	Sun Feb 15 13:33:38 2015	(r379035)
@@ -3,7 +3,7 @@
 
 PORTNAME=	spice
 PORTVERSION=	3f5.2
-PORTREVISION=	11
+PORTREVISION=	12
 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 \
@@ -102,9 +102,12 @@ post-extract:
 
 ${CONFIGFILE}::
 	@${SETENV} ${CONFIGURE_ENV} ${MAKE} -f ${MAKEFILE} configure
-.for V in CC MAKE CC_OPT DEVICES
+.for V in CC MAKE CC_OPT
 	@${ECHO_CMD} "${V}=${$V}" >> ${WRKSRC}/conf/FreeBSD
 .endfor
+.for V in DEVICES
+	@${ECHO_CMD} "${V}+=${$V}" >> ${WRKSRC}/conf/FreeBSD
+.endfor
 
 do-configure: ${CONFIGFILE}
 	@${DO_NADA}

Modified: head/cad/spice/files/Makefile
==============================================================================
--- head/cad/spice/files/Makefile	Sun Feb 15 13:33:25 2015	(r379034)
+++ head/cad/spice/files/Makefile	Sun Feb 15 13:33:38 2015	(r379035)
@@ -32,8 +32,8 @@ SHAREFILESDIR=	${PREFIX}/share/spice
 HELPFILESDIR=	${SHAREFILESDIR}/helpdir
 SCRIPTFILESDIR=	${SHAREFILESDIR}/scripts
 
-PROGRAMS=	spice3 nutmeg sconvert help proc2mod multidec
-HELPFILES=	spice.txt
+PROGRAMS=	spice3 nutmeg sconvert help proc2mod multidec makeidx
+HELPFILES=	spice.txt spice.idx
 SCRIPTFILES=	setplot spinit
 SHAREFILES=	mfbcap news
 
@@ -54,6 +54,11 @@ ${DESTDIR}${MANDIR}${n}/$M: $M
 .endfor
 	ln -s -f spice.1 ${DESTDIR}${MANDIR}1/spice3.1
 
+spice.idx: spice.txt
+	${DESTDIR}${BINDIR}/makeidx ${.ALLSRC}
+	${BSD_INSTALL_DATA} ${.CURDIR}/lib/helpdir/spice.idx \
+	    ${.CURDIR}/spice.idx
+
 .for D in HELPFILES SCRIPTFILES SHAREFILES
 . for F in ${${D}}
 install:: ${DESTDIR}${${D}DIR}/$F

Modified: head/cad/spice/pkg-plist
==============================================================================
--- head/cad/spice/pkg-plist	Sun Feb 15 13:33:25 2015	(r379034)
+++ head/cad/spice/pkg-plist	Sun Feb 15 13:33:38 2015	(r379035)
@@ -4,6 +4,7 @@ bin/sconvert
 bin/help
 bin/proc2mod
 bin/multidec
+bin/makeidx
 man/man1/sconvert.1.gz
 man/man1/nutmeg.1.gz
 man/man1/spice.1.gz
@@ -11,6 +12,7 @@ man/man1/spice3.1.gz
 man/man3/mfb.3.gz
 man/man5/mfbcap.5.gz
 %%DATADIR%%/helpdir/spice.txt
+%%DATADIR%%/helpdir/spice.idx
 %%DATADIR%%/scripts/setplot
 %%DATADIR%%/scripts/spinit
 %%DATADIR%%/mfbcap



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502151333.t1FDXdGc041964>