Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/imgv/Makefile
Show All 18 Lines | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | ||||
USES= python:run shebangfix | USES= python:run shebangfix | ||||
SHEBANG_FILES= imgv.py | SHEBANG_FILES= imgv.py | ||||
python_OLD_CMD= /usr/bin/env python | python_OLD_CMD= /usr/bin/env python | ||||
python_CMD= ${PYTHON_CMD} | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/gl.py | 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/gl.py | ||||
do-configure: | do-configure: | ||||
@${ECHO_CMD} -n > ${WRKSRC}/__init__.py | @${ECHO_CMD} -n > ${WRKSRC}/__init__.py | ||||
Show All 19 Lines |