PORTNAME=	wwl
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	comms hamradio astro geography
MASTER_SITES=	http://www.db.net/downloads/ \
		LOCAL/db
DISTNAME=	${PORTNAME}+db-${PORTVERSION}

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Calculates distance (qrb) used in Amateur Radio

CONFLICTS=	locator*

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/wwl ${STAGEDIR}${PREFIX}/bin
	@${RM} ${STAGEDIR}${PREFIX}/bin/locator
	@${LN} -sf wwl ${STAGEDIR}${PREFIX}/bin/locator
	@${INSTALL_DATA} ${WRKSRC}/wwl.1 ${STAGEDIR}${PREFIX}/share/man/man1
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
