# New ports collection makefile for: PyOpenGL # Date created: Wed Aug 18 18:49:17 EDT 1999 # Whom: Randall Hopper # # $FreeBSD$ # PORTNAME= opengl PORTVERSION= 3.0.1 CATEGORIES= graphics python MASTER_SITES= SF/py${PORTNAME}/PyOpenGL/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyOpenGL-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An OpenGL (and related library) interface for Python BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging OPTIONS= TKINTER "Build with tkinter for X support" On OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options USE_GL= glut USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= PyOpenGL PYDISTUTILS_PKGVERSION= ${PORTVERSION:S/.b/b/} .include .if !defined(WITHOUT_TKINTER) BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter .endif post-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s| ||" @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' @${FIND} ${WRKSRC} -name "*.bak" -delete ${REINPLACE_CMD} -e 's|posix |posix|g' ${WRKSRC}/OpenGL/__init__.py post-install: @${FIND} ${PYTHON_SITELIBDIR}/OpenGL -type f | \ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${PYTHON_SITELIBDIR}/OpenGL -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include ctron4/files/bl-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to 5.0.11jylefort2007-03-092-5/+2
* - Remove support for xfree86-3pav2007-02-031-4/+0
* Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-141-1/+4
* Remove USE_REINPLACE from categories starting with Xedwin2006-05-131-2/+0
* - Fix drag and drop cursorsjylefort2005-09-072-0/+12