summaryrefslogtreecommitdiff
path: root/comms/nec2c/Makefile
blob: f5cc1ecfa9e8a37df26f263c1ef5b1b9423a2ed7 (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
27
28
29
30
# Created by: db
# $FreeBSD$

PORTNAME=	nec2c
PORTVERSION=	.9
PORTREVISION=	1
CATEGORIES=	comms hamradio
MASTER_SITES=	http://ftp-mirror.internap.com/pub/FreeBSD/distfiles/nec2c/ \
		http://ftp.cerias.purdue.edu/pub/os/FreeBSD/distfiles/nec2c/
DISTNAME=	nec2c

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Used to calculate antenna patterns useful to ham radio

BROKEN=		Unfetchable
LIB_DEPENDS=	libccm.so:${PORTSDIR}/math/ccmath

OPTIONS_DEFINE=	DOCS EXAMPLES

post-patch:
	${CP} ${FILESDIR}/carg.c  ${WRKSRC}

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>