From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 16 08:10:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60687106564A for ; Wed, 16 May 2012 08:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3630C8FC14 for ; Wed, 16 May 2012 08:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4G8A2Df038096 for ; Wed, 16 May 2012 08:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4G8A2JT038095; Wed, 16 May 2012 08:10:02 GMT (envelope-from gnats) Resent-Date: Wed, 16 May 2012 08:10:02 GMT Resent-Message-Id: <201205160810.q4G8A2JT038095@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stephen Hurd Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 489591065673 for ; Wed, 16 May 2012 08:01:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2845E8FC12 for ; Wed, 16 May 2012 08:01:29 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4G81SQi024415 for ; Wed, 16 May 2012 08:01:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4G81SSe024413; Wed, 16 May 2012 08:01:28 GMT (envelope-from nobody) Message-Id: <201205160801.q4G81SSe024413@red.freebsd.org> Date: Wed, 16 May 2012 08:01:28 GMT From: Stephen Hurd To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167951: New Port: comms/fl_moxgen Moxon rectangle antenna calculator X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 08:10:02 -0000 >Number: 167951 >Category: ports >Synopsis: New Port: comms/fl_moxgen Moxon rectangle antenna calculator >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: Wed May 16 08:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Stephen Hurd >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD stephen.hurd.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Fl_MoxGen is a program that will compute the dimensions of a Moxon Rectangle antenna based on user input of the desired resonant frequency in MHz and the wire diameter. >How-To-Repeat: >Fix: New port Patch attached with submission follows: # 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: # # fl_moxgen # fl_moxgen/Makefile # fl_moxgen/distinfo # fl_moxgen/files # fl_moxgen/files/patch-Makefile # fl_moxgen/pkg-plist # fl_moxgen/pkg-descr # echo c - fl_moxgen mkdir -p fl_moxgen > /dev/null 2>&1 echo x - fl_moxgen/Makefile sed 's/^X//' >fl_moxgen/Makefile << '37050916a91467dd8e510448258d90d3' X# New ports collection makefile for: fl_moxgen X# Date created: 2012-05-15 X# Whom: Stephen Hurd X# X# $FreeBSD: $ X# X XPORTNAME= Fl_MoxGen XPORTVERSION= 0.05 XCATEGORIES= comms hamradio XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= flmoxgen X XMAINTAINER= shurd@sasktel.net XCOMMENT= Compute the dimensions of a Moxon Rectangle antenna X XLICENSE= GPLv3 X XLIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk X XOPTIONS= PDF "Enable PDF Writing (requires libharu)" on X X.include X X.ifdef WITH_PDF X LIB_DEPENDS= hpdf:${PORTSDIR}/print/libharu X ALL_TARGET= fl_moxgen X.else X ALL_TARGET= fl_moxgen_no_pdf X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ X ${WRKSRC}/Makefile X X.include 37050916a91467dd8e510448258d90d3 echo x - fl_moxgen/distinfo sed 's/^X//' >fl_moxgen/distinfo << '87b27baf79dea04121740093d183b9ae' XSHA256 (Fl_MoxGen-0.05.tar.gz) = 19271c51438d6762c58b498fcd8b9293295b1f7497f3c52d3635a8710818ba20 XSIZE (Fl_MoxGen-0.05.tar.gz) = 37489 87b27baf79dea04121740093d183b9ae echo c - fl_moxgen/files mkdir -p fl_moxgen/files > /dev/null 2>&1 echo x - fl_moxgen/files/patch-Makefile sed 's/^X//' >fl_moxgen/files/patch-Makefile << '94ec1cc462eba6ef94fe252b97b763bd' X--- Makefile.orig 2009-12-21 18:58:35.000000000 -0800 X+++ Makefile 2012-05-16 00:49:03.000000000 -0700 X@@ -32,10 +32,10 @@ X # BINDIR directory. Files needed at run time will X # be installed in the SHAREDIR directory. X X-BINDIR=/usr/local/bin X+BINDIR=%%LOCALBASE%%/bin X #BINDIR=/usr/bin X X-SHAREDIR=/usr/local/share/fl_moxgen X+SHAREDIR=%%LOCALBASE%%/share/fl_moxgen X #SHAREDIR=/usr/share/fl_moxgen X X # If libHaru is installed, be sure that LIBHARU_INC X@@ -44,30 +44,24 @@ X # accordingly. If libHaru is not installed, X # comment out both lines. X X-LIBHARU_INC = /usr/local/include X+LIBHARU_INC = %%LOCALBASE%%/include X #LIBHARU_INC = /usr/include X X-# Set the FLTK_INC variable to be the location of the X-# include files for FLTK. X- X-FLTK_INC = /usr/include X-#FLTK_INC = /usr/local/include X- X all: X @if [ -f $(LIBHARU_INC)/hpdf.h ]; \ X then $(MAKE) fl_moxgen; \ X else $(MAKE) fl_moxgen_no_pdf; fi X X write_pdf.o: write_pdf.c X- @$(CC) -c -o write_pdf.o write_pdf.c X+ @$(CC) -c -o write_pdf.o write_pdf.c -I$(LIBHARU_INC) X X fl_moxgen: fl_moxgen.cxx fl_moxgen_defines.h write_pdf.o X @echo "Building Fl_MoxGen with PDF support" X- $(CXX) -o fl_moxgen fl_moxgen.cxx write_pdf.o -I$(FLTK_INC) -I. -lfltk -lfltk_images -lhpdf X+ $(CXX) -o fl_moxgen fl_moxgen.cxx write_pdf.o -I. `fltk-config --use-images --cxxflags --ldflags` -lhpdf X X fl_moxgen_no_pdf: fl_moxgen.cxx fl_moxgen_defines.h X @echo "Building Fl_MoxGen without PDF support" X- $(CXX) -o fl_moxgen fl_moxgen.cxx -I$(FLTK_INC) -I. -lfltk -lfltk_images X+ $(CXX) -o fl_moxgen fl_moxgen.cxx -I. `fltk-config --use-images --cxxflags --ldflags` X X fl_moxgen_defines.h: X @rm -f fl_moxgen_defines.h 94ec1cc462eba6ef94fe252b97b763bd echo x - fl_moxgen/pkg-plist sed 's/^X//' >fl_moxgen/pkg-plist << '48d661d59e65a5039a5e783d228a3b64' Xbin/fl_moxgen Xshare/fl_moxgen/moxgen.png X@dirrm share/fl_moxgen 48d661d59e65a5039a5e783d228a3b64 echo x - fl_moxgen/pkg-descr sed 's/^X//' >fl_moxgen/pkg-descr << '45287c68f7f650bcf965facb4d163f3a' XFl_MoxGen is a program that will compute the dimensions Xof a Moxon Rectangle antenna based on user input of the Xdesired resonant frequency in MHz and the wire diameter. X XWWW: http://home.comcast.net/~andystewart/moxon_sw.html 45287c68f7f650bcf965facb4d163f3a exit >Release-Note: >Audit-Trail: >Unformatted: