aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/taskcoach/Makefile
blob: d0ef0b0605a241ddafa0e3086a8a924c23efe750 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=   taskcoach
PORTVERSION=    1.3.20
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
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>