blob: 10d4d55a26bb847bf2e3d6e2bc4adee5ef234f43 (
plain) (
blame)
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
31
32
33
34
35
36
37
38
39
40
41
|
# ports collection makefile for: splat
# Date created: 8 July 2005
# Whom: db
#
# $FreeBSD$
# http://5b4az.chronos.org.uk/pkg/nec2/nec2c/nec2c-0.6.tar.gz
# http://ftp-mirror.internap.com/pub/FreeBSD/distfiles/nec2c/nec2c.tar.gz
# http://ftp.cerias.purdue.edu/pub/os/FreeBSD/distfiles/nec2c/nec2c.tar.gz
#
PORTNAME= nec2c
PORTVERSION= .9
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= db@FreeBSD.org
COMMENT= Used to calculate antenna patterns useful to ham radio
LIB_DEPENDS= ccm:${PORTSDIR}/math/ccmath
post-patch:
${CP} ${FILESDIR}/carg.c ${WRKSRC}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${ECHO} ""
@${ECHO} "nec2c docs installed in ${DOCSDIR}"
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/Input/*.nec ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/Input/*.NEC ${EXAMPLESDIR}
@${ECHO} "nec2c sample Input files installed in ${EXAMPLESDIR}"
.endif
@${ECHO} ""
.include <bsd.port.mk>
|