blob: 9a92f5d528b90a897930a4741dfb3573b379de1e (
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
|
# New ports collection makefile for: gwave
# Date created: 16 June 2002
# Whom: Duncan Barclay <dmlb@dmlb.org>
#
# $FreeBSD$
#
PORTNAME= gwave
PORTVERSION= 20080127
PORTREVISION= 6
CATEGORIES= cad
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Waveform viewer for analogue electronic simulation tools
LICENSE= GPLv2
LIB_DEPENDS= guile.21:${PORTSDIR}/lang/guile \
guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk
OPTIONS_DEFINE= PLOTUTILS GNUPLOT DOCS EXAMPLES
OPTIONS_DEFAULT=GNUPLOT
PLOTUTILS_DESC= Enable plotting using plotutils
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= sp2sp.1
DOCFILES= Guile.notes \
gwave-concepts.txt \
gwave-hooks.txt \
gwave-procedures.txt \
gwave-variables.txt \
hspice-output.txt \
hspice.txt \
spice3.txt
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPLOTUTILS}
RUN_DEPENDS+= graph:${PORTSDIR}/graphics/plotutils
.endif
.if ${PORT_OPTIONS:MGNUPLOT}
RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|