freebsd-ports/deskutils/taskcoach/Makefile
2018-01-12 11:21:07 +00:00

39 lines
1008 B
Makefile

# $FreeBSD$
PORTNAME= taskcoach
PORTVERSION= 1.4.2
PORTREVISION= 3
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Release-${PORTVERSION}
DISTNAME= TaskCoach-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Friendly task manager
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${FLAVOR}
NO_ARCH= yes
USES= python:2.7 shebangfix
USE_PYTHON= distutils
PYDISTUTILS_EGGINFO=${DISTNAME}-py${PYTHON_VER}.egg-info
USE_WX= 3.0+
WX_COMPS= python:lib
SHEBANG_FILES= taskcoach.py
post-patch:
@${REINPLACE_CMD} -e 's|taskcoach.py|taskcoach|' \
${WRKSRC}/build.in/linux_common/taskcoach.desktop
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/taskcoach.py \
${STAGEDIR}${PREFIX}/bin/taskcoach
${INSTALL_DATA} ${WRKSRC}/build.in/linux_common/taskcoach.desktop \
${STAGEDIR}${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/icons.in/taskcoach.png \
${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>