1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/comms/ebook2cwgui/Makefile
Diane Bruce 08a68082fc - 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 <c.petrik.sosa@gmail.com>
2013-03-14 18:49:15 +00:00

42 lines
928 B
Makefile

# $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 <bsd.port.mk>