blob: 786eaf9ebe28d5d79460cba951dd7154b0f36206 (
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
|
# ex:ts=8
# Ports collection makefile for: gtkwave
# Date created: May 10, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gtkwave
PORTVERSION= 2.0.0.p5
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= cad
MASTER_SITES= ftp://ftp.cs.man.ac.uk/pub/amulet/gtkwave/2.0/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
MAINTAINER= watchman@ludd.ltu.se
COMMENT= Electronic Waveform Viewer
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
USE_GNOME= gtk12
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= ${PREFIX}/lib/gtkwave
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} < 500000 )
USE_GCC= 3.4
.endif
DOCS= doc/*.html doc/*.png doc/*.ps
EXAMPLES= examples/*.gz examples/*.vcd
post-patch:
@${GREP} -lR "heapsort" ${WRKSRC}/src | ${XARGS} \
${REINPLACE_CMD} -e "s/heapsort/hsort/g"
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|