2003-01-19 00:35:38 +00:00
|
|
|
# New ports collection makefile for: gwave
|
|
|
|
# Date created: 16 June 2002
|
|
|
|
# Whom: Duncan Barclay <dmlb@dmlb.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gwave
|
2007-03-20 07:43:28 +00:00
|
|
|
PORTVERSION= 20060606
|
2003-01-19 00:35:38 +00:00
|
|
|
CATEGORIES= cad
|
2007-03-20 07:43:28 +00:00
|
|
|
MASTER_SITES= http://geda.seul.org/dist/
|
2003-01-19 00:35:38 +00:00
|
|
|
|
2007-03-20 07:43:28 +00:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= Waveform viewer for analogue electronic simulation tools
|
2003-01-19 00:35:38 +00:00
|
|
|
|
2004-03-07 14:51:38 +00:00
|
|
|
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
|
2003-01-21 10:26:59 +00:00
|
|
|
guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk
|
2003-01-19 00:35:38 +00:00
|
|
|
|
|
|
|
USE_GNOME= gtk12
|
2006-07-13 01:18:35 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
|
|
|
OPTIONS= PLOTUTILS "Use GNU plotutils for plotting" off \
|
|
|
|
GNUPLOT "Use gnuplot for plotting" on \
|
|
|
|
EXAMPLES "Install example spice files" off
|
|
|
|
|
|
|
|
DOCFILES= Guile.notes \
|
|
|
|
gwave-concepts.txt \
|
|
|
|
gwave-hooks.txt \
|
|
|
|
gwave-procedures.txt \
|
|
|
|
gwave-variables.txt \
|
|
|
|
hspice-output.txt \
|
|
|
|
hspice.txt \
|
|
|
|
spice3.txt
|
2003-01-19 00:35:38 +00:00
|
|
|
|
|
|
|
MAN1= sp2sp.1
|
|
|
|
|
2003-12-19 10:47:13 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-07-13 01:18:35 +00:00
|
|
|
.if defined(WITH_PLOTUTILS)
|
|
|
|
RUN_DEPENDS+= graph:${PORTSDIR}/graphics/plotutils
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_GNUPLOT)
|
|
|
|
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for FILE in ${DOCFILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_EXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
PLIST_SUB+= EXAMPLES=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EXAMPLES="@comment "
|
2003-12-19 10:47:13 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|