freebsd-ports/graphics/py-pyglet/Makefile
Dmitry Marakasov e4c149b2af - Convert to USES=python
- Convert IGNORE to ONLY_FOR_ARCHS
2014-09-29 14:42:39 +00:00

37 lines
970 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= pyglet
PORTVERSION= 1.1.4
PORTREVISION= 5
CATEGORIES= graphics multimedia x11-toolkits python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Cross-platform windowing and multimedia library for Python
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= ${LOCALBASE}/lib/libavbin.so:${PORTSDIR}/multimedia/avbin
ONLY_FOR_ARCHS= i386
USES= openal:al python
USE_PYTHON= distutils
USE_GL= gl glu
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG NOTICE README ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>