svn commit: r374591 - in head/comms: . xcwcp
Stephen Hurd
shurd at FreeBSD.org
Fri Dec 12 12:37:37 UTC 2014
Author: shurd
Date: Fri Dec 12 12:37:36 2014
New Revision: 374591
URL: https://svnweb.freebsd.org/changeset/ports/374591
QAT: https://qat.redports.org/buildarchive/r374591/
Log:
New port comms/xcwcp
Sub-port of comms/unixcw
Previously, this was a build-time option, but the primary use of
comms/unixcw is to provide libcw.so (and it's a dependency of
comms/cwdaemon).
Since comms/cwdaemon is not a GUI program, it doesn't make sense to enable
the GUI by default, which would mean pkg users couldn't install this
program. By splitting it into a sub-port, it's now available via pkg
and more obviously present when earching ports.
Added:
head/comms/xcwcp/
head/comms/xcwcp/Makefile (contents, props changed)
head/comms/xcwcp/pkg-descr (contents, props changed)
Modified:
head/comms/Makefile
Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile Fri Dec 12 12:26:03 2014 (r374590)
+++ head/comms/Makefile Fri Dec 12 12:37:36 2014 (r374591)
@@ -176,6 +176,7 @@
SUBDIR += wwl
SUBDIR += wy60
SUBDIR += xastir
+ SUBDIR += xcwcp
SUBDIR += xdx
SUBDIR += xlog
SUBDIR += xmorse
Added: head/comms/xcwcp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/xcwcp/Makefile Fri Dec 12 12:37:36 2014 (r374591)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+CATEGORIES= comms hamradio
+
+COMMENT= X11 CW Tutor using unixcw
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libcw.so:${PORTSDIR}/comms/unixcw
+
+MASTERDIR= ${.CURDIR}/../unixcw
+
+PLIST= ${.CURDIR}/pkg-plist
+USE_QT4= gui moc_build qmake_build rcc_build uic_build designer
+USE_AUTOTOOLS= autoconf
+CONFIGURE_ARGS= --enable-xcwcp
+PLIST_FILES= bin/xcwcp \
+ man/man1/xcwcp.1.gz
+
+post-stage:
+ # Remove files from the unixcw plist
+ for plistfile in `cat ${MASTERDIR}/pkg-plist`; \
+ do \
+ cleanfile=`echo $${plistfile} | ${SED} -E 's|man/man(.*).gz|man/man\1|'`; \
+ ${RM} ${STAGEDIR}${PREFIX}/$${cleanfile}; \
+ done
+
+.include "${MASTERDIR}/Makefile"
Added: head/comms/xcwcp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/xcwcp/pkg-descr Fri Dec 12 12:37:36 2014 (r374591)
@@ -0,0 +1,6 @@
+xcwcp: a CW tutor program for X Window environment. It offers the
+same random and keyboard sending as comms/cwcp, and in addition can
+read CW that sent to it using the keyboard or mouse as a keyer,
+making it useful for sending as well as receiving practice.
+
+WWW: http://www.ibiblio.org/pub/linux/apps/ham/morse/
More information about the svn-ports-head
mailing list