aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2013-12-31 05:59:55 +0800
committerdb <db@FreeBSD.org>2013-12-31 05:59:55 +0800
commiteb91ddb9ef3c9c0ec22c211ae07240e314e72b6c (patch)
tree2161214000e97a643d4e4a78be8fe02849cf27b5 /comms
parentcb34733348d63a6dc32308ac82cd52c3da10b5df (diff)
downloadfreebsd-ports-gnome-eb91ddb9ef3c9c0ec22c211ae07240e314e72b6c.tar.gz
freebsd-ports-gnome-eb91ddb9ef3c9c0ec22c211ae07240e314e72b6c.tar.zst
freebsd-ports-gnome-eb91ddb9ef3c9c0ec22c211ae07240e314e72b6c.zip
- Enabled stagedir
Diffstat (limited to 'comms')
-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>