aboutsummaryrefslogtreecommitdiffstats
path: root/cad/dinotrace/Makefile
blob: fe4b410db81f560f69e8dce67e207bdfd937ea50 (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
# New ports collection makefile for:    dinotrace
# Date created:     July 05, 2004
# Whom:         Joachim Strombergson <watchman@ludd.ltu.se>
#
# $FreeBSD$
#

PORTNAME=   dinotrace
PORTVERSION=    9.4c
CATEGORIES= cad
MASTER_SITES=   http://www.veripool.org/ftp/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A graphical signal trace waveform viewer

OPTIONS_DEFINE= EMACS
OPTIONS_DEFAULT=    EMACS
EMACS_DESC= Install Emacs supplimentary files

USE_XORG=   x11 sm ice xmu xt
USE_MOTIF=  yes
USE_PERL5_BUILD=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKE_JOBS_SAFE= yes

INFO=       dinotrace
PLIST_FILES=    bin/dinotrace

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEMACS}
RUN_DEPENDS+=   verilog-mode.el>0:${PORTSDIR}/cad/verilog-mode.el
USE_EMACS=  yes
EMACS_NO_BUILD_DEPENDS= yes
.for F in dinotrace.el sim-log.el
PLIST_FILES+=   ${EMACS_SITE_LISPDIR}/${F}
.endfor
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|"-O3"|""|' ${WRKSRC}/configure

post-install:
.if ${PORT_OPTIONS:MEMACS}
    @${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR}
.for F in dinotrace.el sim-log.el
    ${INSTALL_DATA} ${WRKSRC}/lisp/${F} ${PREFIX}/${EMACS_SITE_LISPDIR}
.endfor
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>