Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 09:27:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353080 - head/comms/py-serial
Message-ID:  <201405060927.s469RADf002757@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue May  6 09:27:10 2014
New Revision: 353080
URL: http://svnweb.freebsd.org/changeset/ports/353080
QAT: https://qat.redports.org/buildarchive/r353080/

Log:
  Support stage
  
  PR:		ports/188593
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Modified:
  head/comms/py-serial/Makefile

Modified: head/comms/py-serial/Makefile
==============================================================================
--- head/comms/py-serial/Makefile	Tue May  6 09:24:56 2014	(r353079)
+++ head/comms/py-serial/Makefile	Tue May  6 09:27:10 2014	(r353080)
@@ -19,20 +19,12 @@ PYDISTUTILS_PKGNAME=	py${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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