summaryrefslogtreecommitdiff
path: root/comms/nec2c
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2008-06-09 12:19:23 +0000
committerDiane Bruce <db@FreeBSD.org>2008-06-09 12:19:23 +0000
commit6ac2d0761ed808c4a1ff87d1006ed0ad521cbe37 (patch)
tree50c531551e4d34a97ac3bda6cc3cb508082fa630 /comms/nec2c
parent388c8b6c6db14a0c865ff274c6193378ccdeb6ab (diff)
downloadfreebsd-ports-6ac2d0761ed808c4a1ff87d1006ed0ad521cbe37.zip
- Honour NOPORTEXAMPLES
Reviewed by: itetcu
Diffstat (limited to 'comms/nec2c')
-rw-r--r--comms/nec2c/Makefile22
-rw-r--r--comms/nec2c/pkg-plist210
2 files changed, 115 insertions, 117 deletions
diff --git a/comms/nec2c/Makefile b/comms/nec2c/Makefile
index 491af29dc1e5..10d4d55a26bb 100644
--- a/comms/nec2c/Makefile
+++ b/comms/nec2c/Makefile
@@ -7,6 +7,7 @@
# 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
@@ -17,27 +18,24 @@ DISTNAME= nec2c
MAINTAINER= db@FreeBSD.org
COMMENT= Used to calculate antenna patterns useful to ham radio
-#
-# both libccm and files/carg.c can "go away" once libc is filled in
-# with missing posix complex functions.
-#
LIB_DEPENDS= ccm:${PORTSDIR}/math/ccmath
post-patch:
${CP} ${FILESDIR}/carg.c ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/Input/*.nec ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/Input/*.NEC ${EXAMPLESDIR}
+ @${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}"
- @${ECHO} ""
.endif
-
+ @${ECHO} ""
.include <bsd.port.mk>
diff --git a/comms/nec2c/pkg-plist b/comms/nec2c/pkg-plist
index 0eb21cf450ec..1229b5043311 100644
--- a/comms/nec2c/pkg-plist
+++ b/comms/nec2c/pkg-plist
@@ -1,108 +1,108 @@
bin/nec2c
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/10RA432.NEC
-%%PORTDOCS%%%%EXAMPLESDIR%%/19el_432_tonna.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/20RA432.NEC
-%%PORTDOCS%%%%EXAMPLESDIR%%/20RA_X4.NEC
-%%PORTDOCS%%%%EXAMPLESDIR%%/3E_.NEC
-%%PORTDOCS%%%%EXAMPLESDIR%%/9EL_GRA.NEC
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elX2b_gr.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elX2b_mast.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elX2b_tonna.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elX2bm_gr.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elX_gra.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elX_tonna.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/9elXb_tonna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XAMPLESDIR%%/YI20_40C.NEC
-%%PORTDOCS%%%%EXAMPLESDIR%%/dip_curv_6m.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18_1.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18_1t.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18_1t15mvp.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18_t10m.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18_t10mvp.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_18b24.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_24b18.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_28_0.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_28_1.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_28_1t.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_2el_28_f.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_4el_20.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/dl_4el_20f.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/firstrhombic.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/i5tdjiiif.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/log_periodic.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/logperA9.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/quad17m_1.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/quad17m_2.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/rombica_t.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg2_5el_50.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg2_5el_50t.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_16el_220.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_16el_220M_1.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_16el_220M_2.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_2el_24.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_4el_20.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_4el_20f.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_4el_20g.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_5el_50.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_5el_50_opt.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_5el_50p_opt.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_5el_50t.nec
-%%PORTDOCS%%%%EXAMPLESDIR%%/yg_9el_144.nec
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/10RA432.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/19el_432_tonna.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/20RA432.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/20RA_X4.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/3E_.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9EL_GRA.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elX2b_gr.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elX2b_mast.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elX2b_tonna.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elX2bm_gr.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elX_gra.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elX_tonna.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elXb_tonna.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/9elXb_tonnaf.nec
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R%%/YG_4X6_B.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/YG_6EL.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/YI20_40B.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/YI20_40C.NEC
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dip_curv_6m.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18_1.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18_1t.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18_1t15mvp.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18_t10m.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18_t10mvp.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_18b24.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_24b18.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_28_0.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_28_1.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_28_1t.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_2el_28_f.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_4el_20.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dl_4el_20f.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/firstrhombic.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/i5tdjiiif.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/log_periodic.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logperA9.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quad17m_1.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quad17m_2.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rombica_t.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg2_5el_50.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg2_5el_50t.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_16el_220.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_16el_220M_1.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_16el_220M_2.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_2el_24.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_4el_20.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_4el_20f.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_4el_20g.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_5el_50.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_5el_50_opt.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_5el_50p_opt.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_5el_50t.nec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yg_9el_144.nec
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%