2004-07-05 23:02:41 +02:00
|
|
|
# New ports collection makefile for: dinotrace
|
|
|
|
# Date created: July 05, 2004
|
|
|
|
# Whom: Joachim Strombergson <watchman@ludd.ltu.se>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dinotrace
|
2009-01-12 11:31:44 +01:00
|
|
|
DISTVERSION= 9.3f
|
|
|
|
PORTREVISION= 0
|
2004-07-05 23:02:41 +02:00
|
|
|
CATEGORIES= cad
|
2009-01-12 11:31:44 +01:00
|
|
|
MASTER_SITES= http://www.veripool.org/ftp/
|
2006-10-21 12:14:27 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2004-07-05 23:02:41 +02:00
|
|
|
|
2009-01-12 10:01:17 +01:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2005-02-28 05:25:50 +01:00
|
|
|
COMMENT= A graphical signal trace waveform viewer
|
|
|
|
|
2009-01-12 11:31:44 +01:00
|
|
|
OPTIONS= EMACS "Install Emacs supplimentary files" on
|
|
|
|
|
2005-05-17 19:10:17 +02:00
|
|
|
USE_GNOME= gnometarget
|
2004-07-05 23:02:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_MOTIF= yes
|
2004-08-22 22:20:53 +02:00
|
|
|
USE_PERL5_BUILD= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 sm ice xmu xt
|
2005-05-17 19:10:17 +02:00
|
|
|
USE_GMAKE= yes
|
2004-07-05 23:02:41 +02:00
|
|
|
|
|
|
|
INFO= dinotrace
|
|
|
|
|
2009-01-12 11:31:44 +01:00
|
|
|
VERILOGEL_FILE= ${LOCALBASE}/share/verilog-mode.el/verilog-mode.el
|
|
|
|
ELFILES= dinotrace.el sim-log.el
|
|
|
|
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
|
|
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_EMACS)
|
|
|
|
RUN_DEPENDS+= ${VERILOGEL_FILE}:${PORTSDIR}/cad/verilog-mode.el
|
|
|
|
PLIST_SUB+= EMACS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EMACS="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(WITHOUT_EMACS)
|
|
|
|
${MKDIR} ${DATADIR}/
|
|
|
|
${MKDIR} ${XEMACSLISPDIR}
|
|
|
|
. for FILE in ${ELFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lisp/${FILE} ${DATADIR}/
|
|
|
|
${LN} -sf ${DATADIR}/${FILE} ${EMACSLISPDIR}/${FILE}
|
|
|
|
${LN} -sf ${DATADIR}/${FILE} ${XEMACSLISPDIR}/${FILE}
|
|
|
|
. endfor
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|