freebsd-ports/graphics/py-pyglet/Makefile
Dmitry Marakasov 3037cb61c7 - Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
2013-06-18 11:46:51 +00:00

40 lines
889 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= pyglet
PORTVERSION= 1.1.4
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
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_GL= gl glu
USE_OPENAL= al
PORTDOCS= *
PORTEXAMPLES= *
.include <bsd.port.options.mk>
.if ${ARCH} != "i386"
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
.include <bsd.port.mk>