Changeset View
Changeset View
Standalone View
Standalone View
accessibility/orca/Makefile
Show All 20 Lines | RUN_DEPENDS= py3?-dbus>=0:devel/py3-dbus \ | ||||
py3?-xdg>=0:devel/py3-xdg \ | py3?-xdg>=0:devel/py3-xdg \ | ||||
py3?-cairo>=0:graphics/py3-cairo | py3?-cairo>=0:graphics/py3-cairo | ||||
# conflict with py*-json-py because orca uses the json from python itself | # conflict with py*-json-py because orca uses the json from python itself | ||||
# and py*-json-py shadows this. | # and py*-json-py shadows this. | ||||
CONFLICTS= py*-json-py-[0-9]* | CONFLICTS= py*-json-py-[0-9]* | ||||
PORTSCOUT= limitw:1,even | PORTSCOUT= limitw:1,even | ||||
NO_ARCH= yes | |||||
USES= gettext gmake gnome pathfix pkgconfig python:3 tar:xz | USES= gettext gmake gnome pathfix pkgconfig python:3 tar:xz | ||||
USE_GNOME= gtk30 py3gobject3 intlhack | USE_GNOME= gtk30 py3gobject3 intlhack | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ | @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ | ||||
${WRKSRC}/src/orca/orca_i18n.py | ${WRKSRC}/src/orca/orca_i18n.py | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.mk> | ||||
.if ${PYTHON_REL} < 3500 | |||||
PYOEXTENSION= pyo | |||||
.else | |||||
PYOEXTENSION= opt-1.pyc | |||||
.endif | |||||
PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \ | |||||
PYVER=${PYTHON_VER:S/.//} | |||||
.include <bsd.port.post.mk> |