View | Details | Raw Unified | Return to bug 48144
Collapse All | Expand All

(-)cad/gtkwave/Makefile (-4 / +8 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	gtkwave
9
PORTNAME=	gtkwave
10
PORTVERSION=	2.0.0.p1
10
PORTVERSION=	2.0.0.p3
11
PORTEPOCH=	2
11
PORTEPOCH=	2
12
CATEGORIES=	cad
12
CATEGORIES=	cad
13
MASTER_SITES=	ftp://ftp.cs.man.ac.uk/pub/amulet/gtkwave/2.0/
13
MASTER_SITES=	ftp://ftp.cs.man.ac.uk/pub/amulet/gtkwave/2.0/
Lines 15-35 Link Here
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
17
17
18
LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2
18
.if !exists(/usr/bin/bzip2)
19
.if !exists(/usr/bin/bzip2)
19
LIB_DEPENDS=	bz2.1:${PORTSDIR}/archivers/bzip2
20
LIB_DEPENDS+=	bz2.1:${PORTSDIR}/archivers/bzip2
20
.endif
21
.endif
21
22
22
USE_GNOMENG=	yes
23
USE_GNOMENG=	yes
23
USE_GNOME=	gtk12
24
USE_GNOME=	gtk12
24
USE_REINPLACE=	yes
25
USE_REINPLACE=	yes
25
GNU_CONFIGURE=	yes
26
USE_LIBTOOL=	yes
27
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
28
INSTALLS_SHLIB=	yes
29
LDCONFIG_DIRS=	${PREFIX}/lib/gtkwave
26
30
27
post-patch:
31
post-patch:
28
	@${GREP} -lR "heapsort" ${WRKSRC}/src | ${XARGS} \
32
	@${GREP} -lR "heapsort" ${WRKSRC}/src | ${XARGS} \
29
		${REINPLACE_CMD} -e "s/heapsort/hsort/g"
33
		${REINPLACE_CMD} -e "s/heapsort/hsort/g"
30
34
31
.if !defined(NOPORTDOCS)
32
post-install:
35
post-install:
36
.if !defined(NOPORTDOCS)
33
	@${MKDIR} ${DOCSDIR}
37
	@${MKDIR} ${DOCSDIR}
34
	(cd ${WRKSRC}/doc ; ${INSTALL_DATA} *.png *.ps *.html ${DOCSDIR})
38
	(cd ${WRKSRC}/doc ; ${INSTALL_DATA} *.png *.ps *.html ${DOCSDIR})
35
	@${MKDIR} ${EXAMPLESDIR}
39
	@${MKDIR} ${EXAMPLESDIR}
(-)cad/gtkwave/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (gtkwave-2.0.0pre1.tar.gz) = c09ee3afe8a1ab5ff7359407dc5d5caf
1
MD5 (gtkwave-2.0.0pre3.tar.gz) = 09df5138841a962cd0b4e8c3a57967f3
(-)cad/gtkwave/files/patch-alloc.h (-25 lines)
Lines 1-25 Link Here
1
--- src/alloc.h.orig	Sun May 12 22:53:00 2002
2
+++ src/alloc.h	Sun May 12 22:53:27 2002
3
@@ -39,22 +39,6 @@
4
 #define alloca _alloca
5
 #endif
6
 
7
-#ifndef __GNUC__
8
-# if HAVE_ALLOCA_H
9
-#  include <alloca.h>
10
-# else
11
-#  ifdef _AIX
12
-# pragma alloca
13
-#  else
14
-#   ifndef alloca               /* predefined by HP cc +Olibcalls */
15
-char *alloca ();
16
-#   endif
17
-#  endif
18
-# endif
19
-#else
20
-# include <alloca.h>
21
-#endif
22
-
23
 #define wave_alloca alloca
24
 
25
 #endif
(-)cad/gtkwave/files/patch-configure (+10 lines)
Line 0 Link Here
1
--- configure.orig	Wed Feb  5 20:37:21 2003
2
+++ configure	Mon Feb 10 21:26:17 2003
3
@@ -7492,6 +7492,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
(-)cad/gtkwave/files/patch-main.c (-11 lines)
Lines 1-11 Link Here
1
--- src/main.c.orig	Sun May 12 22:59:38 2002
2
+++ src/main.c	Sun May 12 22:59:51 2002
3
@@ -62,7 +62,7 @@
4
 long lastpos;
5
 long endpos;
6
 long fsize;
7
-long val_size;
8
+off_t val_size;
9
 int no_of_reads;
10
 struct stat finfo;
11
 int is_initial_read = 0;
(-)cad/gtkwave/files/patch-print.c (-10 lines)
Lines 1-10 Link Here
1
--- src/print.c.orig	Sun May 12 23:01:00 2002
2
+++ src/print.c	Sun May 12 23:01:42 2002
3
@@ -36,7 +36,6 @@
4
 #include "analyzer.h"
5
 #include "utils.h"
6
 #include "bsearch.h"
7
-#include "alloca.h"
8
 #include "debug.h"
9
 #include "strace.h"
10
 #include "print.h"
(-)cad/gtkwave/files/patch-v2l_debug.h (-17 lines)
Lines 1-17 Link Here
1
--- src/helpers/v2l_debug.h.orig	Sat May 11 00:28:43 2002
2
+++ src/helpers/v2l_debug.h	Sat May 11 00:30:02 2002
3
@@ -79,14 +79,6 @@
4
  * memory leaks because of it.  you have been warned.
5
  */
6
 
7
-#ifndef __sun__
8
-#ifndef alloca
9
-#define alloca __alloca
10
-#endif
11
-#else
12
-#include <alloca.h>
13
-#endif
14
-
15
 #define wave_alloca alloca
16
 
17
 
(-)cad/gtkwave/pkg-plist (-17 / +35 lines)
Lines 1-20 Link Here
1
bin/gtkwave
1
bin/gtkwave
2
bin/mvl2lxt
3
bin/mvl2vcd
4
bin/tex2vcd
5
bin/vcd2lxt
2
bin/vcd2lxt
6
share/gtkwave/pixmaps/add_signals.xpm
3
lib/gtkwave/reader_lxt.a
7
share/gtkwave/pixmaps/larrow.xpm
4
lib/gtkwave/reader_lxt.so
8
share/gtkwave/pixmaps/rarrow.xpm
5
lib/gtkwave/reader_lxt.so.0
9
share/gtkwave/pixmaps/zoom_begin.xpm
6
lib/gtkwave/reader_out.a
10
share/gtkwave/pixmaps/zoom_end.xpm
7
lib/gtkwave/reader_out.so
11
share/gtkwave/pixmaps/zoom_fit.xpm
8
lib/gtkwave/reader_out.so.0
12
share/gtkwave/pixmaps/zoom_in.xpm
9
lib/gtkwave/reader_vcd.a
13
share/gtkwave/pixmaps/zoom_out.xpm
10
lib/gtkwave/reader_vcd.so
14
share/gtkwave/pixmaps/zoom_redo.xpm
11
lib/gtkwave/reader_vcd.so.0
15
share/gtkwave/pixmaps/zoom_undo.xpm
16
@dirrm share/gtkwave/pixmaps
17
@dirrm share/gtkwave
18
%%PORTDOCS%%share/doc/gtkwave/data_format.png
12
%%PORTDOCS%%share/doc/gtkwave/data_format.png
19
%%PORTDOCS%%share/doc/gtkwave/edit_menu.png
13
%%PORTDOCS%%share/doc/gtkwave/edit_menu.png
20
%%PORTDOCS%%share/doc/gtkwave/file_menu.png
14
%%PORTDOCS%%share/doc/gtkwave/file_menu.png
Lines 40-48 Link Here
40
%%PORTDOCS%%share/doc/gtkwave/w9.png
34
%%PORTDOCS%%share/doc/gtkwave/w9.png
41
%%PORTDOCS%%share/doc/gtkwave/wps.png
35
%%PORTDOCS%%share/doc/gtkwave/wps.png
42
%%PORTDOCS%%share/doc/gtkwave/zoom_submenu.png
36
%%PORTDOCS%%share/doc/gtkwave/zoom_submenu.png
43
%%PORTDOCS%%@dirrm share/doc/gtkwave
37
%%PORTDOCS%%share/examples/gtkwave/agonynan_bccom.vcd.gz
44
%%PORTDOCS%%share/examples/gtkwave/agonynan_bccom.evcd.gz
45
%%PORTDOCS%%share/examples/gtkwave/pci.vcd.gz
38
%%PORTDOCS%%share/examples/gtkwave/pci.vcd.gz
46
%%PORTDOCS%%share/examples/gtkwave/simple.vcd
39
%%PORTDOCS%%share/examples/gtkwave/simple.vcd
47
%%PORTDOCS%%share/examples/gtkwave/sram.vcd.gz
40
%%PORTDOCS%%share/examples/gtkwave/sram.vcd.gz
41
share/gtkwave/pixmaps/add_signals.xpm
42
share/gtkwave/pixmaps/insert_trace.xpm
43
share/gtkwave/pixmaps/menu_16.xpm
44
share/gtkwave/pixmaps/next_page.xpm
45
share/gtkwave/pixmaps/prev_page.xpm
46
share/gtkwave/pixmaps/stock_cut.xpm
47
share/gtkwave/pixmaps/stock_first.xpm
48
share/gtkwave/pixmaps/stock_last.xpm
49
share/gtkwave/pixmaps/stock_left.xpm
50
share/gtkwave/pixmaps/stock_open_16.xpm
51
share/gtkwave/pixmaps/stock_paste.xpm
52
share/gtkwave/pixmaps/stock_redo.xpm
53
share/gtkwave/pixmaps/stock_redo_16.xpm
54
share/gtkwave/pixmaps/stock_right.xpm
55
share/gtkwave/pixmaps/stock_undo.xpm
56
share/gtkwave/pixmaps/stock_zoom_1.xpm
57
share/gtkwave/pixmaps/stock_zoom_fit.xpm
58
share/gtkwave/pixmaps/stock_zoom_in.xpm
59
share/gtkwave/pixmaps/stock_zoom_out.xpm
60
share/gtkwave/pixmaps/time_16.xpm
61
share/gtkwave/pixmaps/vcd_mime.xpm
62
@dirrm share/gtkwave/pixmaps
63
@dirrm share/gtkwave
48
%%PORTDOCS%%@dirrm share/examples/gtkwave
64
%%PORTDOCS%%@dirrm share/examples/gtkwave
65
%%PORTDOCS%%@dirrm share/doc/gtkwave
66
@dirrm lib/gtkwave

Return to bug 48144