[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ports/94644: [NEW PORT] comms/xnecview: A X viewer of nec2c data



>Number:         94644
>Category:       ports
>Synopsis:       [NEW PORT] comms/xnecview: A X viewer of nec2c data
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 18 15:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Soeren Straarup
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD beacon.x12.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Feb  7 20:11:22 CET
>Description:
Xnecview is a program for visualizing the input and output files of the NEC
antenna simulation software. It runs on Linux/Unix systems with the X window
system.

WWW: http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- xnecview-1.34.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xnecview
#	xnecview/Makefile
#	xnecview/distinfo
#	xnecview/pkg-descr
#	xnecview/files
#	xnecview/files/patch-draw.c
#	xnecview/files/patch-Makefile
#	xnecview/files/patch-xwin.c
#	xnecview/files/patch-parse_output.c
#
echo c - xnecview
mkdir -p xnecview > /dev/null 2>&1
echo x - xnecview/Makefile
sed 's/^X//' >xnecview/Makefile << 'END-of-xnecview/Makefile'
X# New ports collection makefile for:	xnecview
X# Date created:		2006-03-18
X# Whom:				Søren Straarup <xride_(_at_)_x12_(_dot_)_dk>
X#
X# $FreeBSD$
X
XPORTNAME=	xnecview
XPORTVERSION=	1.34
XCATEGORIES=	comms hamradio
XMASTER_SITES=	http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	xride_(_at_)_x12_(_dot_)_dk
XCOMMENT=	A X viewer of nec2c data
X
XLIB_DEPENDS=	png:${PORTSDIR}/graphics/png
XRUN_DEPENDS=	nec2c:${PORTSDIR}/comms/nec2c
X
XUSE_GNOME=	gtk20
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
X
XMAN1=	xnecview.1
XPLIST_FILES=	bin/xnecview
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/xnecview ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/xnecview.man ${MANPREFIX}/man/man1/xnecview.1
X
X.include <bsd.port.mk>
END-of-xnecview/Makefile
echo x - xnecview/distinfo
sed 's/^X//' >xnecview/distinfo << 'END-of-xnecview/distinfo'
XMD5 (xnecview-1.34.tgz) = e496c0b04bd908911bb675bfc28c6c53
XSHA256 (xnecview-1.34.tgz) = 987ab674c5be33a6a017f2a6962352bfed75b2a0371c6dfa81b7cb2b01ea9803
XSIZE (xnecview-1.34.tgz) = 76863
END-of-xnecview/distinfo
echo x - xnecview/pkg-descr
sed 's/^X//' >xnecview/pkg-descr << 'END-of-xnecview/pkg-descr'
XXnecview is a program for visualizing the input and output files of the NEC
Xantenna simulation software. It runs on Linux/Unix systems with the X window
Xsystem.
X
XWWW: http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
END-of-xnecview/pkg-descr
echo c - xnecview/files
mkdir -p xnecview/files > /dev/null 2>&1
echo x - xnecview/files/patch-draw.c
sed 's/^X//' >xnecview/files/patch-draw.c << 'END-of-xnecview/files/patch-draw.c'
X--- draw.c.orig	Mon Jul 21 21:49:28 2003
X+++ draw.c	Fri Mar 17 17:59:24 2006
X@@ -605,7 +605,7 @@
X #define R270 (1.5*M_PI)
X #define R360 (2*M_PI)
X 
X-#include <sys/timeb.h>
X+#include <sys/time.h>
X 
X void draw_gain(int ie,Radpattern *rp)
X {
END-of-xnecview/files/patch-draw.c
echo x - xnecview/files/patch-Makefile
sed 's/^X//' >xnecview/files/patch-Makefile << 'END-of-xnecview/files/patch-Makefile'
X--- Makefile.orig	Fri Dec 27 23:23:23 2002
X+++ Makefile	Fri Mar 17 17:59:24 2006
X@@ -4,14 +4,14 @@
X 
X 
X CC	= gcc
X-CFLAGS	= -O2 -g -Wall `gtk-config --cflags`
X+CFLAGS	= -O2 -g -Wall `pkg-config --cflags gtk+-2.0`
X 
X LD	= $(CC)
X-LDFLAGS	= `gtk-config --libs` -lm
X+LDFLAGS	= `pkg-config --libs gtk+-2.0` -lm
X 
X ifeq ($(PNG),yes)
X-CFLAGS	+= -DHAVE_LIBPNG
X-LDFLAGS	+= -lpng
X+CFLAGS	+= `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng12.pc`
X+LDFLAGS	+= `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng12.pc`
X endif
X 
X SRCS	= xnecview.c xwin.c parse_input.c parse_output.c draw.c draw_opaque.c freqplot.c postscript.c icon.xbm
END-of-xnecview/files/patch-Makefile
echo x - xnecview/files/patch-xwin.c
sed 's/^X//' >xnecview/files/patch-xwin.c << 'END-of-xnecview/files/patch-xwin.c'
X--- xwin.c.orig	Fri Mar 17 20:50:07 2006
X+++ xwin.c	Fri Mar 17 20:50:52 2006
X@@ -13,6 +13,7 @@
X #include <math.h>
X #include <stdio.h>
X #include <stdlib.h>
X+#include <string.h>
X #include <gtk/gtk.h>
X #include <gdk/gdkx.h>
X #include <gdk/gdkkeysyms.h>
X@@ -1378,7 +1379,7 @@
X 
X       gtk_widget_grab_focus(gdraw1);
X 
X-      gtk_accel_group_attach(acc, GTK_OBJECT(win1));
X+      gtk_window_add_accel_group(GTK_WINDOW(win1), acc);
X 
X       ggc = gdk_gc_new(w->window);
X 
X@@ -1478,7 +1479,7 @@
X 
X       gtk_widget_grab_focus(gdraw2);
X 
X-      gtk_accel_group_attach(acc, GTK_OBJECT(win2));
X+      gtk_window_add_accel_group(GTK_WINDOW(win2), acc);
X 
X       ggc2 = gdk_gc_new(w->window);
X 
END-of-xnecview/files/patch-xwin.c
echo x - xnecview/files/patch-parse_output.c
sed 's/^X//' >xnecview/files/patch-parse_output.c << 'END-of-xnecview/files/patch-parse_output.c'
X--- parse_output.c.orig	Fri Mar 17 20:32:22 2006
X+++ parse_output.c	Fri Mar 17 20:30:42 2006
X@@ -749,9 +749,10 @@
X       EXPAND_IF_NECESSARY(numneco,maxfreqs,neco)
X    
X       /* search for the frequency and read it */
X-      do fgets(s,200,f);  while (!feof(f) && !strstr(s,"FREQUENCY="));
X+      do fgets(s,200,f);  while (!feof(f) && !strstr(s,"FREQUENCY : "));
X       if (feof(f)) break;
X-      p = strchr(s,'=');
X+printf("XXX\n");
X+      p = strchr(s,':');
X       freq = atof(p+1);
X 
X       /* find the right place in the neco array (data is sorted by frequency) */
END-of-xnecview/files/patch-parse_output.c
exit
--- xnecview-1.34.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org