Changeset View
Changeset View
Standalone View
Standalone View
head/astro/weather/Makefile
Show All 21 Lines | |||||
PORTDATA= airports places stations zctas zones | PORTDATA= airports places stations zctas zones | ||||
SHEBANG_FILES= ${PORTNAME} | SHEBANG_FILES= ${PORTNAME} | ||||
python_OLD_CMD= ${SETENV} python | python_OLD_CMD= ${SETENV} python | ||||
python_CMD= ${PYTHON_CMD} | python_CMD= ${PYTHON_CMD} | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${PYTHON_REL} < 320 | .if ${PYTHON_REL} < 3200 | ||||
PYCACHE_DIR= # empty | PYCACHE_DIR= # empty | ||||
PYCACHE_FILE= ${PORTNAME} | PYCACHE_FILE= ${PORTNAME} | ||||
.else | .else | ||||
PYCACHE_DIR= __pycache__/ | PYCACHE_DIR= __pycache__/ | ||||
PYCACHE_FILE= ${PORTNAME}.cpython-${PYTHON_SUFFIX} | PYCACHE_FILE= ${PORTNAME}.cpython-${PYTHON_SUFFIX} | ||||
.endif | .endif | ||||
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.pyc \ | PLIST_FILES+= %%PYTHON_SITELIBDIR%%/${PYCACHE_DIR}${PYCACHE_FILE}.pyc \ | ||||
Show All 24 Lines |