diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-09-01 00:51:19 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-09-01 00:51:19 +0000 |
commit | 0c9a18f5b2b36ad7f69d79dfe316298f33154ca1 (patch) | |
tree | 8af836be03e7f432e543ce7733fc46f8283abed7 /graphics/py-opengl | |
parent | eee7f39cf3741db31838ca68270e4eec5dc0b369 (diff) | |
download | ports-0c9a18f5b2b36ad7f69d79dfe316298f33154ca1.tar.gz ports-0c9a18f5b2b36ad7f69d79dfe316298f33154ca1.zip |
Notes
Diffstat (limited to 'graphics/py-opengl')
-rw-r--r-- | graphics/py-opengl/Makefile | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/graphics/py-opengl/Makefile b/graphics/py-opengl/Makefile index 7b69457da9e6..9f89e7b6d2fb 100644 --- a/graphics/py-opengl/Makefile +++ b/graphics/py-opengl/Makefile @@ -7,29 +7,37 @@ PORTNAME= opengl PORTVERSION= 2.0.1.07 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= py${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyOpenGL-${PORTVERSION:S/.b/b/} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ahze@FreeBSD.org COMMENT= An OpenGL (and related library) interface for Python BUILD_DEPENDS= ${PYNUMERIC} \ - ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \ - ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \ - swig:${PORTSDIR}/devel/swig11 + ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging +# swig1.3:${PORTSDIR}/devel/swig13 RUN_DEPENDS= ${PYNUMERIC} \ - ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \ ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut +OPTIONS= TKINTER "Build with tkinter for X support" On +OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options + USE_GL= yes USE_PYTHON= yes USE_PYDISTUTILS= yes +.include <bsd.port.pre.mk> + +.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 \ @@ -45,4 +53,4 @@ post-install: @${FIND} ${PYTHON_SITELIBDIR}/OpenGL -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |