1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/deskutils/gtg/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

38 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= gtg
PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= deskutils gnome python
MASTER_SITES= http://launchpadlibrarian.net/157500472/
MAINTAINER= rm@FreeBSD.org
COMMENT= GTD organizer for the GNOME desktop environment
LICENSE= GPLv3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.4:devel/py-dbus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}liblarch>=2.1:devel/py-liblarch@${PY_FLAVOR} \
xset:x11/xset
USE_GNOME= pygobject pygtk2
USES= gettext desktop-file-utils python:2.7 shebangfix
INSTALLS_ICONS= yes
SHEBANG_FILES= ${WRKSRC}/gtcli_bash_completion
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= CHEETAH
CHEETAH_DESC= Needed for export plugin to work
OPTIONS_EXCLUDE= NLS DOCS
CHEETAH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>0:devel/py-cheetah@${PY_FLAVOR}
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/org.gnome.GTG.service
.include <bsd.port.mk>