diff options
author | bapt <bapt@FreeBSD.org> | 2014-08-30 02:33:30 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-08-30 02:33:30 +0800 |
commit | f4ad9f58d7aab68a01a549d97997241a897c0b96 (patch) | |
tree | 384507b4e712a4b357807ac7605de859da54ce51 /science | |
parent | c1472237a170e292f4bc32ec324bca571d46489e (diff) | |
download | freebsd-ports-gnome-f4ad9f58d7aab68a01a549d97997241a897c0b96.tar.gz freebsd-ports-gnome-f4ad9f58d7aab68a01a549d97997241a897c0b96.tar.zst freebsd-ports-gnome-f4ad9f58d7aab68a01a549d97997241a897c0b96.zip |
Support stage
PR: 146413
Submitted by: pfg
Diffstat (limited to 'science')
-rw-r--r-- | science/fasthenry/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/science/fasthenry/Makefile b/science/fasthenry/Makefile index 28234c633147..57eb29e55126 100644 --- a/science/fasthenry/Makefile +++ b/science/fasthenry/Makefile @@ -9,11 +9,12 @@ MASTER_SITES= http://www.wrcad.com/ftp/pub/ LOCAL/bf MAINTAINER= ports@FreeBSD.org COMMENT= Multipole-accelerated inductance analysis program +OPTIONS_DEFINE= DOCS EXAMPLES + HAS_CONFIGURE= yes CONFIGURE_SCRIPT= config WRKSRC= ${WRKDIR}/fasthenry-3.0wr -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -Ee '/CFLAGS =/{s/=/+=/;s/-O[[:digit:]]*//;}' \ ${WRKSRC}/src/fasthenry/Makefile.default \ @@ -47,19 +48,15 @@ post-patch: ${WRKSRC}/src/fasthenry/mulMats.c do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/bin/fasthenry ${PREFIX}/bin/ - @${INSTALL_PROGRAM} ${WRKSRC}/bin/zbuf ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CAT} ${WRKSRC}/README ${WRKSRC}/README.mit > ${DOCSDIR}/readme - ${CAT} ${WRKSRC}/doc/manual_*.ps > ${DOCSDIR}/manual.ps - ${CAT} ${WRKSRC}/doc/nonuniform_manual_*.ps > ${DOCSDIR}/nonuniform_manual.ps - ${INSTALL_DATA} ${WRKSRC}/doc/ms_thesis.ps ${DOCSDIR} - ${GZIP_CMD} ${DOCSDIR}/* -.endif -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif + @${INSTALL_PROGRAM} ${WRKSRC}/bin/fasthenry ${STAGEDIR}${PREFIX}/bin/ + @${INSTALL_PROGRAM} ${WRKSRC}/bin/zbuf ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CAT} ${WRKSRC}/README ${WRKSRC}/README.mit > ${STAGEDIR}${DOCSDIR}/readme + ${CAT} ${WRKSRC}/doc/manual_*.ps > ${STAGEDIR}${DOCSDIR}/manual.ps + ${CAT} ${WRKSRC}/doc/nonuniform_manual_*.ps > ${STAGEDIR}${DOCSDIR}/nonuniform_manual.ps + ${INSTALL_DATA} ${WRKSRC}/doc/ms_thesis.ps ${STAGEDIR}${DOCSDIR} + ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/* + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |