freebsd-ports/deskutils/taskcoach/Makefile
2014-03-31 06:33:54 +00:00

35 lines
926 B
Makefile

# $FreeBSD$
PORTNAME= taskcoach
PORTVERSION= 1.3.37
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Release-${PORTVERSION}
DISTNAME= TaskCoach-${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Friendly task manager
WRKSRC= ${WRKDIR}/${DISTNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= twisted
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_EGGINFO=${DISTNAME}-py${PYTHON_VER}.egg-info
USE_WX= 2.8
WX_COMPS= python:lib
WX_UNICODE= yes
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>