diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-30 14:30:29 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-30 14:30:29 +0000 |
commit | 8d8f206bc4d092ab6df65d609d627fc09332f69b (patch) | |
tree | 50220aa65b25d13fd6effcb1a81cf394f73e8ddb /graphics | |
parent | ba0dd330e9cf8e5f171bd8c9f3fa0bd961def402 (diff) | |
download | ports-8d8f206bc4d092ab6df65d609d627fc09332f69b.tar.gz ports-8d8f206bc4d092ab6df65d609d627fc09332f69b.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-pyglet/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/graphics/py-pyglet/Makefile b/graphics/py-pyglet/Makefile index cca78f040e6f..7763c5803bf9 100644 --- a/graphics/py-pyglet/Makefile +++ b/graphics/py-pyglet/Makefile @@ -10,18 +10,20 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform windowing and multimedia library for Python -LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \ - fontconfig:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS=yes USE_GL= gl glu USE_OPENAL= al PORTDOCS= * PORTEXAMPLES= * -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFAULT=DOCS EXAMPLES + .include <bsd.port.options.mk> .if ${ARCH} != "i386" @@ -29,13 +31,7 @@ IGNORE= crashes or doesn't work on !i386 .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR} -.endif + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/ .include <bsd.port.mk> |