From 08a68082fc13655c5b5fa2f36611657d77e3a64f Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Thu, 14 Mar 2013 18:49:15 +0000 Subject: [PATCH] - ebook2cwgui A graphical user interface (GUI) for ebook2cw is available as a separate program (screenshots: WinXP, Linux). It is designed to work on Windows (95 through 7), Linux and Mac OS X (not tested). It's a single executable file that you can download here (Windows version - see the download directory for the source code to compile it for other platforms). The GUI uses the same configuration file as ebook2cw, called ebook2cw.conf. PR: ports/175542 Submitted by: Chris Petrik --- comms/Makefile | 1 + comms/ebook2cwgui/Makefile | 41 +++++++++++++++++++++++++++++++++++++ comms/ebook2cwgui/distinfo | 2 ++ comms/ebook2cwgui/pkg-descr | 6 ++++++ 4 files changed, 50 insertions(+) create mode 100644 comms/ebook2cwgui/Makefile create mode 100644 comms/ebook2cwgui/distinfo create mode 100644 comms/ebook2cwgui/pkg-descr diff --git a/comms/Makefile b/comms/Makefile index 043f7837eaa7..5c75f7d2cc2e 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -29,6 +29,7 @@ SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += ebook2cw + SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax SUBDIR += efax-gtk diff --git a/comms/ebook2cwgui/Makefile b/comms/ebook2cwgui/Makefile new file mode 100644 index 000000000000..06c71ff1f072 --- /dev/null +++ b/comms/ebook2cwgui/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ +# + +PORTNAME= ebook2cwgui +PORTVERSION= 0.1.2 +CATEGORIES= comms hamradio +MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \ + http://distfiles.bsdjunk.com/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= db + +MAINTAINER= db@FreeBSD.org +COMMENT= WxWidgets front end for ebooks2cw + +RUN_DEPENDS= ebook2cw:${PORTSDIR}/comms/ebook2cw + +MAN1= ebook2cwgui.1 + +USE_WX= yes + +PLIST_FILES= bin/ebook2cwgui +PORTDOCS= * + +post-patch: + @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG:S,${PREFIX}/bin/,,}|g' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ + -e 's|g++|${CXX}|g' \ + ${WRKSRC}/Makefile + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/ebook2cwgui ${PREFIX}/bin/ebook2cwgui + @${INSTALL_DATA} ${WRKSRC}/ebook2cwgui.1 ${MANPREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in README COPYING ChangeLog + @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/$f +.endfor +.endif + +.include diff --git a/comms/ebook2cwgui/distinfo b/comms/ebook2cwgui/distinfo new file mode 100644 index 000000000000..b6ba2f71b31b --- /dev/null +++ b/comms/ebook2cwgui/distinfo @@ -0,0 +1,2 @@ +SHA256 (ebook2cwgui-0.1.2.tar.gz) = 211c5593f65743d33c5fb3ce98b118592a7b15c8b807fde34a10660d6ff0812c +SIZE (ebook2cwgui-0.1.2.tar.gz) = 15661 diff --git a/comms/ebook2cwgui/pkg-descr b/comms/ebook2cwgui/pkg-descr new file mode 100644 index 000000000000..cf8924970726 --- /dev/null +++ b/comms/ebook2cwgui/pkg-descr @@ -0,0 +1,6 @@ +ebook2cwgui is a GUI front end for ebook2cw created in WxWidgets with +support for both Linux and Windows. + +Written by Fabian Kurz, DJ1YFK + +WWW: http://fkurz.net/ham/ebook2cw.html#graphicaluserinterface