2003-01-19 01:35:38 +01:00
|
|
|
# New ports collection makefile for: gwave
|
|
|
|
# Date created: 16 June 2002
|
|
|
|
# Whom: Duncan Barclay <dmlb@dmlb.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gwave
|
2007-03-20 08:43:28 +01:00
|
|
|
PORTVERSION= 20060606
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2003-01-19 01:35:38 +01:00
|
|
|
CATEGORIES= cad
|
2007-03-20 08:43:28 +01:00
|
|
|
MASTER_SITES= http://geda.seul.org/dist/
|
2003-01-19 01:35:38 +01:00
|
|
|
|
2007-03-20 08:43:28 +01:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Waveform viewer for analogue electronic simulation tools
|
2003-01-19 01:35:38 +01:00
|
|
|
|
2008-03-01 07:22:42 +01:00
|
|
|
LIB_DEPENDS= guile.18:${PORTSDIR}/lang/guile \
|
2003-01-21 11:26:59 +01:00
|
|
|
guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk
|
2003-01-19 01:35:38 +01:00
|
|
|
|
|
|
|
USE_GNOME= gtk12
|
2006-07-13 03:18:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2006-07-13 03:18:35 +02:00
|
|
|
|
|
|
|
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 01:35:38 +01:00
|
|
|
|
|
|
|
MAN1= sp2sp.1
|
|
|
|
|
2003-12-19 11:47:13 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-07-13 03:18:35 +02: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 11:47:13 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|