svn commit: r366549 - head/science/fasthenry

Baptiste Daroussin bapt at FreeBSD.org
Fri Aug 29 18:33:31 UTC 2014


Author: bapt
Date: Fri Aug 29 18:33:30 2014
New Revision: 366549
URL: http://svnweb.freebsd.org/changeset/ports/366549
QAT: https://qat.redports.org/buildarchive/r366549/

Log:
  Support stage
  
  PR:		146413
  Submitted by:	pfg

Modified:
  head/science/fasthenry/Makefile

Modified: head/science/fasthenry/Makefile
==============================================================================
--- head/science/fasthenry/Makefile	Fri Aug 29 18:12:20 2014	(r366548)
+++ head/science/fasthenry/Makefile	Fri Aug 29 18:33:30 2014	(r366549)
@@ -9,11 +9,12 @@ MASTER_SITES=	http://www.wrcad.com/ftp/p
 MAINTAINER=	ports at 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>


More information about the svn-ports-head mailing list