graphics/py-opengl: support staging
This commit is contained in:
parent
afad8727a4
commit
1dd60db3f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337763
1 changed files with 2 additions and 9 deletions
|
@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|||
DISTNAME= PyOpenGL-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@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}/,@dirrm ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue