summaryrefslogtreecommitdiff
path: root/comms/nec2c/Makefile
blob: 7e47857a3bf4196f69fbf2f3b851be35c9d35bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	nec2c
PORTVERSION=	.9
PORTREVISION=	3
CATEGORIES=	comms hamradio
MASTER_SITES=	http://nec-archives.pa3kj.com/ \
		LOCAL/db
DISTNAME=	nec2c

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Used to calculate antenna patterns useful to ham radio
WWW=		http://5b4az.chronos.org.uk/pages/nec2.html

LIB_DEPENDS=	libccm.so:math/ccmath

USES=		dos2unix

OPTIONS_DEFINE=	DOCS EXAMPLES

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/Input/*.nec ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/Input/*.NEC ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>