Changeset View
Changeset View
Standalone View
Standalone View
devel/gitg/Makefile
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
OPTIONS_DEFINE= DEBUG NLS PYTHON | OPTIONS_DEFINE= DEBUG NLS PYTHON | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
DEBUG_CONFIGURE_ENABLE= debug | DEBUG_CONFIGURE_ENABLE= debug | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
NLS_CONFIGURE_ENABLE= nls | NLS_CONFIGURE_ENABLE= nls | ||||
PYTHON_USES= python:3 | PYTHON_USES= python:3 | ||||
PYTHON_CONFIGURE_ENABLE= python | PYTHON_CONFIGURE_ENABLE= python | ||||
PYTHON_USE= GNOME=py3gobject3 | PYTHON_USE= GNOME=py3gobject3 | ||||
PYTHON_PLIST_SUB= PYTHON_SUFFIX=${PYTHON_SUFFIX} | |||||
.include <bsd.port.pre.mk> | |||||
.if defined(PYTHON_REL) | |||||
.if ${PYTHON_REL} < 3500 | |||||
PYOEXTENSION= pyo | |||||
.else | |||||
PYOEXTENSION= opt-1.pyc | |||||
.endif | |||||
.endif | |||||
PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|0.24.0|0.25.0|g' \ | @${REINPLACE_CMD} -e 's|0.24.0|0.25.0|g' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |