aboutsummaryrefslogtreecommitdiffstats
path: root/cad/dinotrace/Makefile
blob: 68043b3af1ee6f876e7c13f2d35614f893b3fa51 (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
# Created by: Joachim Strombergson <watchman@ludd.ltu.se>
# $FreeBSD$

PORTNAME=   dinotrace
PORTVERSION=    9.4c
PORTREVISION=   6
CATEGORIES= cad
MASTER_SITES=   http://www.veripool.org/ftp/
PKGNAMESUFFIX=  ${EMACS_PKGNAMESUFFIX}

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

LICENSE=    GPLv3+

USES=       gmake motif perl5 tar:tgz
USE_XORG=   x11 sm ice xmu xt
USE_PERL5=  build

GNU_CONFIGURE=  yes

INFO=       dinotrace
PLIST_FILES=    bin/dinotrace

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

EMACS_USES= emacs:run
EMACS_RUN_DEPENDS=  verilog-mode.el${EMACS_PKGNAMESUFFIX}>0:cad/verilog-mode.el@${FLAVOR}
EMACS_PLIST_FILES=  ${EMACS_SITE_LISPDIR}/dinotrace.el ${EMACS_SITE_LISPDIR}/sim-log.el

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

post-install-EMACS-on:
    @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.for F in dinotrace.el sim-log.el
    ${INSTALL_DATA} ${WRKSRC}/lisp/${F} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.endfor

.include <bsd.port.mk>