aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/rox-memo/Makefile
blob: e2895078bd3f591e8f42e3fc3274446cc6042e89 (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
# $FreeBSD$

PORTNAME=   rox-memo
PORTVERSION=    2.1
PORTREVISION=   2
CATEGORIES= deskutils
MASTER_SITES=   SF/rox/Memo/${PORTVERSION}
DISTNAME=   memo-${PORTVERSION}

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Appointment/TODO management for the ROX desktop

RUN_DEPENDS=    ${LOCALBASE}/bin/rox:x11-fm/rox-filer \
        ${PYTHON_PKGNAMEPREFIX}roxlib>=0:devel/py-roxlib@${PY_FLAVOR}

USES=       python:2.7 shebangfix tar:bzip2
SHEBANG_FILES=  Memo/AppRun Memo/AppletRun

do-build:
    @${PYTHON_CMD} -m compileall ${WRKSRC}
    @${PYTHON_CMD} -O -m compileall ${WRKSRC}

pre-install:
    @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
                ${WRKSRC}/Memo/findrox.py
    @${FIND} ${WRKSRC} -name *.bak -delete

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/apps
    ${CP} -r ${WRKSRC}/Memo ${STAGEDIR}${PREFIX}/apps/

.include <bsd.port.mk>