summaryrefslogtreecommitdiff
path: root/devel/py-watchdog/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-01 16:20:47 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-01 16:20:47 +0000
commitc7e624b3210627ca07b51be84044b2e269762e53 (patch)
tree48fdd1f0d0902abb3a399e525fb6d85182e9d9ab /devel/py-watchdog/Makefile
parent- Switch to options helpers (diff)
- Switch to options helpers
- While here, add some NO_ARCHes Approved by: portmgr blanket
Diffstat (limited to 'devel/py-watchdog/Makefile')
-rw-r--r--devel/py-watchdog/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/py-watchdog/Makefile b/devel/py-watchdog/Makefile
index 40aeb476eed7..ff9c1d6d3080 100644
--- a/devel/py-watchdog/Makefile
+++ b/devel/py-watchdog/Makefile
@@ -29,17 +29,14 @@ PORTDOCS= *
USE_GITHUB= yes
USES= python
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
-.include <bsd.port.options.mk>
+post-build-DOCS-on:
+ (cd ${WRKSRC}/docs ; ${MAKE_CMD} html)
-.if ${PORT_OPTIONS:MDOCS}
-post-build:
- (cd ${WRKSRC}/docs ; ${MAKE} html)
-
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/build/html ; \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo")
-.endif
.include <bsd.port.mk>