aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2018-03-24 05:24:03 +0800
committerzeising <zeising@FreeBSD.org>2018-03-24 05:24:03 +0800
commit9ab78c94c88ea9dbd55db583b8a94e9cab19a1c3 (patch)
treeffd672aaa4b2b833d37d5d35322a6e4fc2d037a2 /cad
parent964c9ca218998ac397052e4e5cecffdebf696105 (diff)
downloadfreebsd-ports-gnome-9ab78c94c88ea9dbd55db583b8a94e9cab19a1c3.tar.gz
freebsd-ports-gnome-9ab78c94c88ea9dbd55db583b8a94e9cab19a1c3.tar.zst
freebsd-ports-gnome-9ab78c94c88ea9dbd55db583b8a94e9cab19a1c3.zip
Update to 3.3.88
Create an option to install examples, default it to on.
Diffstat (limited to 'cad')
-rw-r--r--cad/gtkwave/Makefile7
-rw-r--r--cad/gtkwave/distinfo6
-rw-r--r--cad/gtkwave/files/patch-examples__Makefile.in6
-rw-r--r--cad/gtkwave/pkg-plist17
4 files changed, 20 insertions, 16 deletions
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile
index fd9cbaac4874..7573ee1c16c1 100644
--- a/cad/gtkwave/Makefile
+++ b/cad/gtkwave/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gtkwave
-PORTVERSION= 3.3.87
+PORTVERSION= 3.3.88
CATEGORIES= cad
MASTER_SITES= http://gtkwave.sourceforge.net/
@@ -21,7 +21,7 @@ CONFIGURE_ARGS= --disable-mime-update
USE_GNOME= cairo gtk20
INSTALLS_ICONS= yes
-OPTIONS_DEFINE= TCL GCONF
+OPTIONS_DEFINE= TCL GCONF EXAMPLES
TCL_DESC= Enable support for TCL/TK
TCL_USES= tcl tk
TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \
@@ -33,6 +33,9 @@ GCONF_USE= GNOME=gconf2
PORTDOCS= gtkwave.odt
+post-patch-EXAMPLES-off:
+ ${REINPLACE_CMD} '/^SUBDIRS/s|examples||' ${WRKSRC}/Makefile.in
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
diff --git a/cad/gtkwave/distinfo b/cad/gtkwave/distinfo
index 986dbb7d02c1..96e7fe30e524 100644
--- a/cad/gtkwave/distinfo
+++ b/cad/gtkwave/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1515705735
-SHA256 (gtkwave-3.3.87.tar.gz) = c6e552716876c8b88c8f6e36e3614a8c53a32cef7895e2c1e6e608daf0ee5b7a
-SIZE (gtkwave-3.3.87.tar.gz) = 4176746
+TIMESTAMP = 1521649804
+SHA256 (gtkwave-3.3.88.tar.gz) = ad6f293f56571ff6a8259f73e2b4f55af0fb290a172c87e15afc97b75badba99
+SIZE (gtkwave-3.3.88.tar.gz) = 4188190
diff --git a/cad/gtkwave/files/patch-examples__Makefile.in b/cad/gtkwave/files/patch-examples__Makefile.in
index aa466dc9df2d..b62bf3638a94 100644
--- a/cad/gtkwave/files/patch-examples__Makefile.in
+++ b/cad/gtkwave/files/patch-examples__Makefile.in
@@ -1,4 +1,4 @@
---- examples/Makefile.in.orig 2017-10-08 05:44:27 UTC
+--- examples/Makefile.in.orig 2018-03-05 23:07:23 UTC
+++ examples/Makefile.in
@@ -60,7 +60,7 @@ am__make_running_with_option = \
test $$has_opt = yes
@@ -9,10 +9,10 @@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
-@@ -288,7 +288,7 @@ top_build_prefix = @top_build_prefix@
+@@ -292,7 +292,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
- dist_examples_DATA = des.gtkw des.tcl des.v des.fst transaction.fst transaction.gtkw transaction.c gtkwaverc
+ dist_examples_DATA = des.gtkw des.tcl des.v des.fst transaction.fst transaction.gtkw transaction.c gtkwaverc sst_exclusion_example.rc
-examplesdir = $(pkgdatadir)/examples
+examplesdir = $(pkgdatadir)/examples/@PACKAGE@
all: all-am
diff --git a/cad/gtkwave/pkg-plist b/cad/gtkwave/pkg-plist
index 9a311b270a4b..aeb1bbe50fb9 100644
--- a/cad/gtkwave/pkg-plist
+++ b/cad/gtkwave/pkg-plist
@@ -85,11 +85,12 @@ share/icons/gtkwave_256x256x32.png
share/icons/gtkwave_files_256x256x32.png
share/icons/gtkwave_savefiles_256x256x32.png
share/icons/hicolor/scalable/apps/gtkwave.svg
-%%EXAMPLESDIR%%/des.fst
-%%EXAMPLESDIR%%/des.gtkw
-%%EXAMPLESDIR%%/des.tcl
-%%EXAMPLESDIR%%/des.v
-%%EXAMPLESDIR%%/transaction.fst
-%%EXAMPLESDIR%%/transaction.gtkw
-%%EXAMPLESDIR%%/transaction.c
-%%EXAMPLESDIR%%/gtkwaverc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/des.fst
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/des.gtkw
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/des.tcl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/des.v
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transaction.fst
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transaction.gtkw
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/transaction.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtkwaverc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sst_exclusion_example.rc