diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-01 16:20:47 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-01 16:20:47 +0000 |
commit | c7e624b3210627ca07b51be84044b2e269762e53 (patch) | |
tree | 48fdd1f0d0902abb3a399e525fb6d85182e9d9ab /devel/py-sdl2/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-sdl2/Makefile')
-rw-r--r-- | devel/py-sdl2/Makefile | 9 |
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> |