svn commit: r337763 - head/graphics/py-opengl
William Grzybowski
wg at FreeBSD.org
Fri Dec 27 17:37:52 UTC 2013
Author: wg
Date: Fri Dec 27 17:37:52 2013
New Revision: 337763
URL: http://svnweb.freebsd.org/changeset/ports/337763
Log:
graphics/py-opengl: support staging
Modified:
head/graphics/py-opengl/Makefile
Modified: head/graphics/py-opengl/Makefile
==============================================================================
--- head/graphics/py-opengl/Makefile Fri Dec 27 17:35:27 2013 (r337762)
+++ head/graphics/py-opengl/Makefile Fri Dec 27 17:37:52 2013 (r337763)
@@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyOpenGL-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= An OpenGL (and related library) interface for Python
+COMMENT= OpenGL (and related library) interface for Python
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
@@ -26,8 +26,7 @@ USES= dos2unix
USE_GL= glut
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= PyOpenGL
-PYDISTUTILS_PKGVERSION= ${PORTVERSION:S/.b/b/}
+PYDISTUTILS_AUTOPLIST= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
@@ -43,10 +42,4 @@ post-patch:
@${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}/, at dirrm ,' >> ${TMPPLIST}
-
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list