Changeset View
Changeset View
Standalone View
Standalone View
devel/py-olefile/Makefile
Show All 14 Lines | |||||
USES= dos2unix python zip | USES= dos2unix python zip | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
# Remove files not python 3 ready and allow compile again | # Remove files not python 3 ready and allow compile again | ||||
post-patch: | post-patch: | ||||
.if ${PYTHON_REL} >= 300 | .if ${PYTHON_REL} >= 3000 | ||||
${RM} ${WRKSRC}/olefile/olefile2.py | ${RM} ${WRKSRC}/olefile/olefile2.py | ||||
.endif | .endif | ||||
${REINPLACE_CMD} "/install' in sys.argv:/,+1d" ${WRKSRC}/setup.py | ${REINPLACE_CMD} "/install' in sys.argv:/,+1d" ${WRKSRC}/setup.py | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |