summaryrefslogtreecommitdiff
path: root/devel/py-sdl2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-sdl2/Makefile')
-rw-r--r--devel/py-sdl2/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/py-sdl2/Makefile b/devel/py-sdl2/Makefile
index 7afee47a9157..8151e842518f 100644
--- a/devel/py-sdl2/Makefile
+++ b/devel/py-sdl2/Makefile
@@ -16,16 +16,13 @@ LICENSE= ZLIB
USES= python
USE_SDL= sdl2 gfx2 image2 ttf2 mixer2
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/html
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
@${TAR} -C ${WRKSRC}/doc/html -cf - . | \
${TAR} -C ${STAGEDIR}${DOCSDIR}/html -xf -
-.endif
.include <bsd.port.mk>