freebsd-ports/deskutils/taskcoach/Makefile
2012-06-01 05:26:28 +00:00

41 lines
1 KiB
Makefile

# New ports collection makefile for: taskcoach
# Date created: 4 March 2011
# Whom: Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= taskcoach
PORTVERSION= 1.3.8
PORTREVISION= 1
CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Release-${PORTVERSION}
DISTNAME= TaskCoach-${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= A friendly task manager
WRKSRC= ${WRKDIR}/${DISTNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
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/fedora/taskcoach.desktop
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/taskcoach.py ${PREFIX}/bin/taskcoach
@${MKDIR} ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKSRC}/build.in/fedora/taskcoach.desktop \
${PREFIX}/share/applications/
@${MKDIR} ${PREFIX}/share/pixmaps
@${INSTALL_DATA} ${WRKSRC}/icons.in/taskcoach.png \
${PREFIX}/share/pixmaps
.include <bsd.port.mk>