2002-02-07 07:07:48 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gnucap
|
|
|
|
# Date created: Feb 7, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnucap
|
2005-02-25 21:16:45 +00:00
|
|
|
PORTVERSION= 2005.01.27
|
2002-02-07 07:07:48 +00:00
|
|
|
CATEGORIES= cad
|
2005-02-25 21:16:45 +00:00
|
|
|
MASTER_SITES= http://www.gnucap.org/devel/ \
|
2006-07-24 12:21:22 +00:00
|
|
|
http://www.geda.seul.org/dist/
|
2005-02-25 21:16:45 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g}
|
2002-02-07 07:07:48 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= The Gnu Circuit Analysis Package
|
2002-02-07 07:07:48 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2003-05-07 02:12:31 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2004-07-03 15:39:00 +00:00
|
|
|
MAKE_ARGS= CCC="${CXX}" CCFLAGS="${CXXFLAGS}"
|
2002-02-28 20:26:05 +00:00
|
|
|
|
2004-07-03 15:39:00 +00:00
|
|
|
CFLAGS+= -DUNIX -DNDEBUG -DNEEDS_IS_INF -DNEEDS_IS_NAN -I..
|
|
|
|
|
2005-02-25 21:16:45 +00:00
|
|
|
MAN1= gnucap-ibis.1 gnucap.1
|
2002-12-22 13:23:19 +00:00
|
|
|
|
2004-08-16 02:33:05 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-02-28 20:26:05 +00:00
|
|
|
post-patch:
|
2004-07-03 15:39:00 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|echo|true|g' ${WRKSRC}/src/configure
|
2002-02-07 07:07:48 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-07-03 15:39:00 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ibis/O/gnucap-ibis ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/modelgen/O/gnucap-modelgen ${PREFIX}/bin
|
2002-02-07 07:07:48 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/O/gnucap ${PREFIX}/bin
|
2004-07-03 15:39:00 +00:00
|
|
|
.for file in *.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${file} ${MANPREFIX}/man/man1
|
|
|
|
.endfor
|
2002-06-27 11:58:34 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-07-03 15:39:00 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in acs-tutorial history relnotes.* whatisit
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2002-06-27 11:58:34 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}/man
|
2004-07-03 15:39:00 +00:00
|
|
|
.for file in *.pdf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/${file} ${DOCSDIR}/man
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${DOCSDIR}/man/html
|
|
|
|
.for file in *.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/man/html/${file} ${DOCSDIR}/man/html
|
|
|
|
.endfor
|
2002-06-27 11:58:34 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2004-07-03 15:39:00 +00:00
|
|
|
.for file in README runall *.ckt *.doc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
|
|
|
|
.endfor
|
2002-06-27 11:58:34 +00:00
|
|
|
.endif
|
2002-02-07 07:07:48 +00:00
|
|
|
|
2004-08-16 02:33:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|