summaryrefslogtreecommitdiff
path: root/cad/dinotrace/Makefile
blob: 2b93f5811120e44dad9fce9f6009d2cc67b65182 (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>

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

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

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake motif perl5 tar:tgz xorg
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@${EMACS_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>