freebsd-ports/x11-toolkits/py-gtkglext/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

28 lines
901 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
# $FreeBSD$
PORTNAME= gtkglext
PORTVERSION= 1.1.0
PORTREVISION= 13
CATEGORIES= x11-toolkits python
MASTER_SITES= SF/${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygtkglext-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python binding for GtkGLExt
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:graphics/py-PyOpenGL@${PY_FLAVOR}
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:graphics/py-PyOpenGL@${PY_FLAVOR}
USES= gmake libtool pathfix pkgconfig python:2.7 tar:bzip2
USE_GNOME= pygtk2
USE_PYTHON= flavors
GNU_CONFIGURE= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gtk/gtkgl/_gtkgl.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gtk/gdkgl/_gdkgl.so
.include <bsd.port.mk>