1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/cad/spice/Makefile
Mark Linimon 3c9fd47636 Mark as broken on 5.x. Distfile dates from 1994, last patch dates from
1996.  It seems time has passed this influential program by.
2003-10-25 07:44:34 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: spice
# Date created: 26 Mar 96
# Whom: Julian Jenkins <kaveman@magna.com.au>
#
# $FreeBSD$
#
PORTNAME= spice
PORTVERSION= 3f5.2
CATEGORIES= cad
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}
MAINTAINER= ports@FreeBSD.org
COMMENT= A general-purpose circuit simulation program
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 501000
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
USE_XLIB= yes
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
MAN1= sconvert.1 nutmeg.1 spice.1
MAN3= mfb.3
MAN5= mfbcap.5
MLINKS= spice.1 spice3.1
post-configure:
@${REINPLACE_CMD} -e 's+@CC@+${CC}+ ; s+@CFLAGS@+${CFLAGS}+ ; \
s+@X11BASE@+${X11BASE}+;' \
${WRKSRC}/conf/FreeBSD
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CAT} ${DISTDIR}/${DIST_SUBDIR}/*.ps > ${DOCSDIR}/spice3f3.ps
${GZIP_CMD} ${DOCSDIR}/*.ps
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.cir ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>