Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2012 05:40:17 GMT
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166863: New port: comms/morse Morse Code Trainer
Message-ID:  <201204120540.q3C5eHn0011693@red.freebsd.org>
Resent-Message-ID: <201204120550.q3C5oC86065701@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166863
>Category:       ports
>Synopsis:       New port: comms/morse Morse Code Trainer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 05:50:12 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:
This is Morse Classic, a generic morse-code practice utility for Unix systems.
You'll invoke it as "morse"; the full name is to distinguish it from Alan
Cox's "morse" program.

A modified version of the program "QSO" by Paul J. Drongowski is also included.

>How-To-Repeat:

>Fix:


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:
#
#	morse
#	morse/Makefile
#	morse/distinfo
#	morse/files
#	morse/files/patch-morse.d-Makefile
#	morse/files/patch-qso.d-QSO.c
#	morse/files/patch-qso.d-grammar.c
#	morse/pkg-plist
#	morse/pkg-descr
#
echo c - morse
mkdir -p morse > /dev/null 2>&1
echo x - morse/Makefile
sed 's/^X//' >morse/Makefile << 'a1c48fe323821018e22a9b310eca7214'
X# New ports collection makefile for:	morse
X# Date created:		April 11th, 2012
X# Whom:			Stephen Hurd
X#
X# $FreeBSD$
X#
X
XPORTNAME=	morse
XPORTVERSION=	2.1
XCATEGORIES=	comms hamradio
XMASTER_SITES=	http://www.ibiblio.org/pub/linux/apps/ham/morse/
X
XMAINTAINER=	shurd@sasktel.net
XCOMMENT=	Morse Code Trainer
X
XMAN1=		morse.1 QSO.1
XUSE_GMAKE=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/morse ${PREFIX}/bin/morse
X	${INSTALL_PROGRAM} ${WRKSRC}/QSO ${PREFIX}/bin/QSO
X	${INSTALL_MAN} ${WRKSRC}/morse.1 ${MANPREFIX}/man/man1/morse.1
X	${INSTALL_MAN} ${WRKSRC}/QSO.1 ${MANPREFIX}/man/man1/QSO.1
X
X.include <bsd.port.mk>
a1c48fe323821018e22a9b310eca7214
echo x - morse/distinfo
sed 's/^X//' >morse/distinfo << '2a72028a6cbbbc143ef1479a72a6d05c'
XSHA256 (morse-2.1.tar.gz) = b332009a7ffce341ae2bb4960509aaf7c0cc8ff423677f8a40d6ca74903e8163
XSIZE (morse-2.1.tar.gz) = 43154
2a72028a6cbbbc143ef1479a72a6d05c
echo c - morse/files
mkdir -p morse/files > /dev/null 2>&1
echo x - morse/files/patch-morse.d-Makefile
sed 's/^X//' >morse/files/patch-morse.d-Makefile << 'c92f165bbb44fe26e0557963349042b0'
X--- morse.d/Makefile.orig	2012-04-11 21:50:28.000000000 -0700
X+++ morse.d/Makefile	2012-04-11 21:51:51.000000000 -0700
X@@ -7,7 +7,7 @@
X X11LIBS = -L/usr/X11R6/lib -lX11
X 
X # Any additional flags your favorite C compiler requires to work.
X-CFLAGS  = -O3 -I/usr/X11R6/include
X+CFLAGS  = -O3
X 
X morse:	morse${DEVICE}
X 	rm -f $@
c92f165bbb44fe26e0557963349042b0
echo x - morse/files/patch-qso.d-QSO.c
sed 's/^X//' >morse/files/patch-qso.d-QSO.c << 'a330b88ea91a49ca8133b0b822113455'
X--- qso.d/QSO.c.orig	2012-04-11 21:53:11.000000000 -0700
X+++ qso.d/QSO.c	2012-04-11 21:53:23.000000000 -0700
X@@ -105,6 +105,7 @@
X 
X 
X #include <sys/types.h>
X+#include <stdio.h>
X #include <time.h>
X 
X char *A_Or_An (char *);
a330b88ea91a49ca8133b0b822113455
echo x - morse/files/patch-qso.d-grammar.c
sed 's/^X//' >morse/files/patch-qso.d-grammar.c << '675d0ce2f8578a0a198d4453f4aeaced'
X--- qso.d/grammar.c.orig	2012-04-11 21:54:53.000000000 -0700
X+++ qso.d/grammar.c	2012-04-11 21:55:22.000000000 -0700
X@@ -1,3 +1,5 @@
X+#include <stdio.h>
X+
X int
X is_vowel (first_char)
X      char first_char;
675d0ce2f8578a0a198d4453f4aeaced
echo x - morse/pkg-plist
sed 's/^X//' >morse/pkg-plist << '31db47ccf52d5cc3398ff598fe2e2484'
Xbin/morse
Xbin/QSO
31db47ccf52d5cc3398ff598fe2e2484
echo x - morse/pkg-descr
sed 's/^X//' >morse/pkg-descr << 'cae304aec2645b5d021a68470c5bf231'
XThis is Morse Classic, a generic morse-code practice utility for Unix systems.
XYou'll invoke it as "morse"; the full name is to distinguish it from Alan
XCox's "morse" program.
X
XA modified version of the program "QSO" by Paul J. Drongowski is also included.
cae304aec2645b5d021a68470c5bf231
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204120540.q3C5eHn0011693>