diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2012-09-04 08:46:18 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2012-09-04 08:46:18 +0000 |
commit | d0dba18d8af2d117a6862851bc62bffde1cc69cb (patch) | |
tree | 108ad6f411b52f68bf5357f2d25b0a4a51695b84 /cad/gtkwave | |
parent | 9c0580a9252c7378086f01294a20feef78e7e6b4 (diff) | |
download | ports-d0dba18d8af2d117a6862851bc62bffde1cc69cb.tar.gz ports-d0dba18d8af2d117a6862851bc62bffde1cc69cb.zip |
Notes
Diffstat (limited to 'cad/gtkwave')
-rw-r--r-- | cad/gtkwave/Makefile | 52 | ||||
-rw-r--r-- | cad/gtkwave/distinfo | 2 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-configure | 10 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-doc__Makefile.in | 11 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-examples__Makefile.in | 20 | ||||
-rw-r--r-- | cad/gtkwave/pkg-descr | 5 | ||||
-rw-r--r-- | cad/gtkwave/pkg-plist | 103 |
8 files changed, 214 insertions, 0 deletions
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile new file mode 100644 index 000000000000..82ee22b86f81 --- /dev/null +++ b/cad/gtkwave/Makefile @@ -0,0 +1,52 @@ +# Ports collection makefile for: gtkwave +# Date created: April 28, 2008 +# Whom: bms +# +# $FreeBSD$ +# + +PORTNAME= gtkwave +PORTVERSION= 3.3.39 +CATEGORIES= cad +MASTER_SITES= http://gtkwave.sourceforge.net/ +DISTNAME= gtkwave-${PORTVERSION} + +MAINTAINER= zeising@FreeBSD.org +COMMENT= Electronic Waveform Viewer + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= gtk20 desktopfileutils +USE_PKGCONFIG= build +INSTALLS_ICONS= yes + +OPTIONS_DEFINE= TCL +TCL_DESC= Enable support for TCL/TK + +PORTDOCS= gtkwave.odt + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTCL} +USE_TCL= 84+ +USE_TK= 84+ +CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \ + --with-tk=${TK_LIBDIR} +.else +CONFIGURE_ARGS+= --disable-tcl +.endif + +MAN1= ghwdump.1 gtkwave.1 evcd2vcd.1 fst2vcd.1 fstminer.1 lxt2miner.1 \ + lxt2vcd.1 rtlbrowse.1 shmidcat.1 twinwave.1 vcd2fst.1 \ + vcd2lxt.1 vcd2lxt2.1 vcd2vzt.1 vermin.1 vzt2vcd.1 vztminer.1 +MAN5= gtkwaverc.5 + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/cad/gtkwave/distinfo b/cad/gtkwave/distinfo new file mode 100644 index 000000000000..3ef3d0e34a8c --- /dev/null +++ b/cad/gtkwave/distinfo @@ -0,0 +1,2 @@ +SHA256 (gtkwave-3.3.39.tar.gz) = 6f8d11f1a8052e62b94ec2ec280464c637d909d12441438f82eb2e6a950145ed +SIZE (gtkwave-3.3.39.tar.gz) = 3799499 diff --git a/cad/gtkwave/files/patch-Makefile.in b/cad/gtkwave/files/patch-Makefile.in new file mode 100644 index 000000000000..3f38adbd4b29 --- /dev/null +++ b/cad/gtkwave/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2012-04-19 15:57:02.615900602 +0600 ++++ Makefile.in 2012-04-19 15:57:09.500888219 +0600 +@@ -254,7 +254,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = doc examples man src contrib share ++SUBDIRS = examples man src contrib share + EXTRA_DIST = ANALOG_README.TXT CHANGELOG.TXT GNU.TXT INSTALL.TXT LICENSE.TXT MIT.TXT SYSTEMVERILOG_README.TXT \ + autogen.sh wave_locale.h tcl.m4 + diff --git a/cad/gtkwave/files/patch-configure b/cad/gtkwave/files/patch-configure new file mode 100644 index 000000000000..05c8c2e344bb --- /dev/null +++ b/cad/gtkwave/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2012-04-19 14:52:53.532889214 +0600 ++++ configure 2012-04-19 14:52:32.373895264 +0600 +@@ -9212,6 +9212,7 @@ + TCLSPEC_LHS="${TCL_LIB_SPEC% *}" + TKLSPEC_LHS="${TK_LIB_SPEC% *}" + LDFLAGS="${LDFLAGS} ${TCLSPEC_LHS} ${TKLSPEC_LHS}" ++TCL_VERSION=${TCL_VERSION%.*}${TCL_VERSION#*.} + as_ac_Lib=`$as_echo "ac_cv_lib_tcl${TCL_VERSION}''_Tcl_CreateInterp" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}" >&5 + $as_echo_n "checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}... " >&6; } diff --git a/cad/gtkwave/files/patch-doc__Makefile.in b/cad/gtkwave/files/patch-doc__Makefile.in new file mode 100644 index 000000000000..be411ba3b3e3 --- /dev/null +++ b/cad/gtkwave/files/patch-doc__Makefile.in @@ -0,0 +1,11 @@ +--- doc/Makefile.in.orig 2011-10-20 08:19:36.000000000 +0200 ++++ doc/Makefile.in 2011-10-28 09:57:03.000000000 +0200 +@@ -16,7 +16,7 @@ + @SET_MAKE@ + + VPATH = @srcdir@ +-pkgdatadir = $(datadir)/@PACKAGE@ ++pkgdatadir = $(datadir)/doc/@PACKAGE@ + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ + pkglibexecdir = $(libexecdir)/@PACKAGE@ diff --git a/cad/gtkwave/files/patch-examples__Makefile.in b/cad/gtkwave/files/patch-examples__Makefile.in new file mode 100644 index 000000000000..744de76fb454 --- /dev/null +++ b/cad/gtkwave/files/patch-examples__Makefile.in @@ -0,0 +1,20 @@ +--- examples/Makefile.in.orig 2012-01-24 19:38:00.000000000 +0100 ++++ examples/Makefile.in 2012-02-05 21:14:29.000000000 +0100 +@@ -16,7 +16,7 @@ + @SET_MAKE@ + + VPATH = @srcdir@ +-pkgdatadir = $(datadir)/@PACKAGE@ ++pkgdatadir = $(datadir) + pkgincludedir = $(includedir)/@PACKAGE@ + pkglibdir = $(libdir)/@PACKAGE@ + pkglibexecdir = $(libexecdir)/@PACKAGE@ +@@ -203,7 +203,7 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + dist_examples_DATA = des.gtkw des.tcl des.v des.vzt transaction.fst transaction.gtkw transaction.c gtkwaverc +-examplesdir = $(pkgdatadir)/examples ++examplesdir = $(pkgdatadir)/examples/@PACKAGE@ + all: all-am + + .SUFFIXES: diff --git a/cad/gtkwave/pkg-descr b/cad/gtkwave/pkg-descr new file mode 100644 index 000000000000..f08efac53f38 --- /dev/null +++ b/cad/gtkwave/pkg-descr @@ -0,0 +1,5 @@ +GTKWave is a fully featured GTK+ based wave viewer for Unix and +Win32 which reads LXT, LXT2, VZT, and GHW files as well as standard +Verilog VCD/EVCD files and allows their viewing. + +WWW: http://gtkwave.sourceforge.net/ diff --git a/cad/gtkwave/pkg-plist b/cad/gtkwave/pkg-plist new file mode 100644 index 000000000000..09e90e5c9b98 --- /dev/null +++ b/cad/gtkwave/pkg-plist @@ -0,0 +1,103 @@ +bin/evcd2vcd +bin/fst2vcd +bin/fstminer +bin/ghwdump +bin/gtkwave +bin/lxt2miner +bin/lxt2vcd +bin/rtlbrowse +bin/shmidcat +bin/twinwave +bin/vcd2fst +bin/vcd2lxt +bin/vcd2lxt2 +bin/vcd2vzt +bin/vermin +bin/vzt2vcd +bin/vztminer +share/mime/application/vnd.gtkwave-ae2.xml +share/mime/application/vnd.gtkwave-aet.xml +share/mime/application/vnd.gtkwave-evcd.xml +share/mime/application/vnd.gtkwave-fst.xml +share/mime/application/vnd.gtkwave-ghw.xml +share/mime/application/vnd.gtkwave-gtkw.xml +share/mime/application/vnd.gtkwave-lx2.xml +share/mime/application/vnd.gtkwave-lxt2.xml +share/mime/application/vnd.gtkwave-lxt.xml +share/mime/application/vnd.gtkwave-vcd.xml +share/mime/application/vnd.gtkwave-vzt.xml +share/mime/packages/x-gtkwave-extension-ae2.xml +share/mime/packages/x-gtkwave-extension-aet.xml +share/mime/packages/x-gtkwave-extension-evcd.xml +share/mime/packages/x-gtkwave-extension-fst.xml +share/mime/packages/x-gtkwave-extension-ghw.xml +share/mime/packages/x-gtkwave-extension-gtkw.xml +share/mime/packages/x-gtkwave-extension-lx2.xml +share/mime/packages/x-gtkwave-extension-lxt2.xml +share/mime/packages/x-gtkwave-extension-lxt.xml +share/mime/packages/x-gtkwave-extension-vcd.xml +share/mime/packages/x-gtkwave-extension-vzt.xml +share/applications/gtkwave.desktop +share/icons/gnome/16x16/mimetypes/gtkwave.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-ae2.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-aet.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-evcd.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-fst.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-ghw.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-gtkw.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-lx2.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-lxt2.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-lxt.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-vcd.png +share/icons/gnome/16x16/mimetypes/gnome-mime-application-vnd.gtkwave-vzt.png +share/icons/gnome/32x32/mimetypes/gtkwave.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-ae2.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-aet.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-evcd.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-fst.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-ghw.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-gtkw.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-lx2.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-lxt2.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-lxt.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-vcd.png +share/icons/gnome/32x32/mimetypes/gnome-mime-application-vnd.gtkwave-vzt.png +share/icons/gnome/48x48/mimetypes/gtkwave.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-ae2.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-aet.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-evcd.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-fst.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-ghw.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-gtkw.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-lx2.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-lxt2.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-lxt.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-vcd.png +share/icons/gnome/48x48/mimetypes/gnome-mime-application-vnd.gtkwave-vzt.png +share/icons/gtkwave_256x256x32.png +share/icons/gtkwave_files_256x256x32.png +share/icons/gtkwave_savefiles_256x256x32.png +%%EXAMPLESDIR%%/des.gtkw +%%EXAMPLESDIR%%/des.tcl +%%EXAMPLESDIR%%/des.v +%%EXAMPLESDIR%%/des.vzt +%%EXAMPLESDIR%%/transaction.fst +%%EXAMPLESDIR%%/transaction.gtkw +%%EXAMPLESDIR%%/transaction.c +%%EXAMPLESDIR%%/gtkwaverc +@dirrm %%EXAMPLESDIR%% +@dirrmtry share/mime/application +@dirrmtry share/mime/packages +@dirrmtry share/mime +@dirrmtry share/applications +@dirrmtry share/icons/gnome/16x16/mimetypes +@dirrmtry share/icons/gnome/16x16 +@dirrmtry share/icons/gnome/32x32/mimetypes +@dirrmtry share/icons/gnome/32x32 +@dirrmtry share/icons/gnome/48x48/mimetypes +@dirrmtry share/icons/gnome/48x48 +@dirrmtry share/icons/gnome +@dirrmtry share/icons + +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |