summaryrefslogtreecommitdiff
path: root/comms/nec2c
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-12-30 21:59:55 +0000
committerDiane Bruce <db@FreeBSD.org>2013-12-30 21:59:55 +0000
commit77e7efe88a62048bdb88f01a3b0820b320f44054 (patch)
tree2161214000e97a643d4e4a78be8fe02849cf27b5 /comms/nec2c
parent2cebe6d724e54724dc6081c4bf4fefdffa60d7b6 (diff)
downloadfreebsd-ports-77e7efe88a62048bdb88f01a3b0820b320f44054.zip
- Enabled stagedir
Diffstat (limited to 'comms/nec2c')
-rw-r--r--comms/nec2c/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/comms/nec2c/Makefile b/comms/nec2c/Makefile
index f1e50f0053f2..df2187b73e70 100644
--- a/comms/nec2c/Makefile
+++ b/comms/nec2c/Makefile
@@ -14,23 +14,14 @@ COMMENT= Used to calculate antenna patterns useful to ham radio
LIB_DEPENDS= libccm.so:${PORTSDIR}/math/ccmath
-NO_STAGE= yes
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} ""
+ @${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>