# Created by: Sunry Chen <sunrychen@gmail.com>
# $FreeBSD: head/comms/xmorse/Makefile 517041 2019-11-08 09:31:13Z tobik $

PORTNAME=	xmorse
PORTVERSION=	20041125
PORTREVISION=	10
CATEGORIES=	comms hamradio
MASTER_SITES=	http://c2.com/morse/files/SourceCode/ \
		http://525183.serverbox.org/freebsd/xmorse/
DISTNAME=	m${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	sunrychen@gmail.com
COMMENT=	Fully automatic Morse code teaching machine

LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk

USES=		sdl
USE_SDL=	sdl

PLIST_FILES=	bin/xmorse
NO_WRKSUBDIR=	yes
MAKE_ARGS=	PREFIX="${STAGEDIR}${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"

post-patch:
	${CP} ${FILESDIR}/Makefile ${WRKSRC}

.include <bsd.port.mk>