1996-05-23 08:17:41 +00:00
|
|
|
# New ports collection makefile for: spice
|
|
|
|
# Date created: 26 Mar 96
|
|
|
|
# Whom: Julian Jenkins <kaveman@magna.com.au>
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1996-05-23 08:17:41 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= spice
|
2003-06-30 19:47:18 +00:00
|
|
|
PORTVERSION= 3f5.2
|
1996-11-15 23:31:01 +00:00
|
|
|
CATEGORIES= cad
|
2003-07-19 03:13:48 +00:00
|
|
|
MASTER_SITES= ftp://ic.eecs.berkeley.edu/pub/Spice3/:sources \
|
|
|
|
ftp://ic.eecs.berkeley.edu/pub/Spice3/um.3f3.ps/:docs
|
|
|
|
DISTFILES= sp3f4.kit${EXTRACT_SUFX}:sources \
|
|
|
|
cp.ps:docs toc.ps:docs doc.ps:docs
|
|
|
|
DIST_SUBDIR= spice
|
|
|
|
EXTRACT_ONLY= sp3f4.kit${EXTRACT_SUFX}
|
1996-05-23 08:17:41 +00:00
|
|
|
|
2003-07-19 03:13:48 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= A general-purpose circuit simulation program
|
1997-10-22 07:04:55 +00:00
|
|
|
|
1998-12-18 06:28:20 +00:00
|
|
|
USE_XLIB= yes
|
2003-07-19 03:13:48 +00:00
|
|
|
USE_REINPLACE= yes
|
1996-12-24 07:31:49 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
1996-12-23 07:26:19 +00:00
|
|
|
MAN1= sconvert.1 nutmeg.1 spice.1
|
|
|
|
MAN3= mfb.3
|
|
|
|
MAN5= mfbcap.5
|
1999-10-08 19:37:27 +00:00
|
|
|
MLINKS= spice.1 spice3.1
|
1996-05-23 08:17:41 +00:00
|
|
|
|
2003-07-19 03:13:48 +00:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's+@CC@+${CC}+ ; s+@CFLAGS@+${CFLAGS}+ ; \
|
|
|
|
s+@X11BASE@+${X11BASE}+;' \
|
|
|
|
${WRKSRC}/conf/FreeBSD
|
|
|
|
|
1996-05-23 08:17:41 +00:00
|
|
|
post-install:
|
1998-06-08 09:21:41 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-07-19 03:13:48 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${CAT} ${DISTDIR}/${DIST_SUBDIR}/*.ps > ${DOCSDIR}/spice3f3.ps
|
|
|
|
${GZIP_CMD} ${DOCSDIR}/*.ps
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.cir ${EXAMPLESDIR}
|
1997-10-22 07:04:55 +00:00
|
|
|
.endif
|
1996-05-23 08:17:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|