Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 08:56:09 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352473 - head/graphics/meshviewer
Message-ID:  <201404280856.s3S8u9eV036165@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Apr 28 08:56:09 2014
New Revision: 352473
URL: http://svnweb.freebsd.org/changeset/ports/352473
QAT: https://qat.redports.org/buildarchive/r352473/

Log:
  Add staging support

Modified:
  head/graphics/meshviewer/Makefile

Modified: head/graphics/meshviewer/Makefile
==============================================================================
--- head/graphics/meshviewer/Makefile	Mon Apr 28 08:34:23 2014	(r352472)
+++ head/graphics/meshviewer/Makefile	Mon Apr 28 08:56:09 2014	(r352473)
@@ -26,8 +26,6 @@ MAKE_ARGS=	QTDIR="${QT_PREFIX}" CC="${CX
 		CXXFLAGS="${CXXFLAGS}" \
 		LIBPATH="" LIBS_QT4="${LDFLAGS}"
 
-PORTDOCS=	*
-
 DOCSRCDIR1=	${WRKSRC}
 DOC_FILES1=	AUTHORS README TODO
 
@@ -40,27 +38,20 @@ DOCSDIR3=	${DOCSDIR}/Documentation
 DOC_FILES3=	*.html *.ico
 
 PLIST_FILES=	bin/${PORTNAME}
-
-NO_STAGE=	yes
+PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|make |$$(MAKE) |g' -e 's|CPPFLAGS|CXXFLAGS|g' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|<values.h>|<cmath>|g' ${WRKSRC}/mesh/mesh.cpp
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin/${PORTNAME}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
-	@${MKDIR} ${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
-	@${MKDIR} ${DOCSDIR3}
-	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${DOCSDIR3}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/mview ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
 
 .include <bsd.port.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404280856.s3S8u9eV036165>