From 09258502e2be3179a61a03a1f42c26cb52f2f3e2 Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 6 May 2014 09:27:10 +0000 Subject: Support stage PR: ports/188593 Submitted by: Bartek Rutkowski --- comms/py-serial/Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'comms') diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile index b4eba8b8fcc..0d1889cea0d 100644 --- a/comms/py-serial/Makefile +++ b/comms/py-serial/Makefile @@ -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 - 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 -- cgit