aboutsummaryrefslogtreecommitdiffstats
path: root/comms/py-serial
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-06 17:27:10 +0800
committerbapt <bapt@FreeBSD.org>2014-05-06 17:27:10 +0800
commit09258502e2be3179a61a03a1f42c26cb52f2f3e2 (patch)
tree9c1b83cce385791d28c444243ace7215292313d2 /comms/py-serial
parenta4d873adcdb36ccd1a429f0ac347bca910a02dda (diff)
downloadfreebsd-ports-gnome-09258502e2be3179a61a03a1f42c26cb52f2f3e2.tar.gz
freebsd-ports-gnome-09258502e2be3179a61a03a1f42c26cb52f2f3e2.tar.zst
freebsd-ports-gnome-09258502e2be3179a61a03a1f42c26cb52f2f3e2.zip
Support stage
PR: ports/188593 Submitted by: Bartek Rutkowski <ports@robakdesign.com>
Diffstat (limited to 'comms/py-serial')
-rw-r--r--comms/py-serial/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile
index b4eba8b8fcca..0d1889cea0dc 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 <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>