diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-01-03 16:06:00 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-01-03 16:06:00 +0000 |
commit | fbd9122a40a8aef04301c3d176bb2573a5e66fa6 (patch) | |
tree | 20fb46a71453f65c9a7021567c09766245990eb3 /comms/py-serial | |
parent | 7796094ddfe2830f75237ae54c7edf21e9033350 (diff) |
Notes
Diffstat (limited to 'comms/py-serial')
-rw-r--r-- | comms/py-serial/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile index 3eb8ff0b49ad..3f1cd029edb9 100644 --- a/comms/py-serial/Makefile +++ b/comms/py-serial/Makefile @@ -20,12 +20,15 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} NO_STAGE= yes + +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif |