blob: 475600b88ab11761b388286d8fe5b90c2a26ccca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# New ports collection makefile for: gwave
# Date created: 16 June 2002
# Whom: Duncan Barclay <dmlb@dmlb.org>
#
# $FreeBSD$
#
PORTNAME= gwave
PORTVERSION= 20051222
CATEGORIES= cad
MASTER_SITES= http://www.cs.unc.edu/~tell/dist/ \
http://geda.seul.org/dist/
MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= Waveform viewer for analogue electronic simulation tools
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk
USE_GNOME= gtk12
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
MAN1= sp2sp.1
PORTDOCS= *
.include <bsd.port.pre.mk>
.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 "
.endif
.include <bsd.port.post.mk>
|