aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tdl/Makefile
blob: d403ce3ce904b77b0e8c20c7f6a2d432a4568c70 (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
# Created by: petef
# $FreeBSD$

PORTNAME=   tdl
PORTVERSION=    1.5.2
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://www.rpcurnow.force9.co.uk/tdl/

MAINTAINER= ports@FreeBSD.org
COMMENT=    To-do list manager

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

CONFLICTS=  devtodo-[0-9]*

USES=       readline

HAS_CONFIGURE=  yes

CONFIGURE_ARGS+=--prefix=${PREFIX} --readline-dir=${LOCALBASE}

post-patch:
    @${REINPLACE_CMD} -e 's/-R\$$/-Wl,-rpath,$$/' ${WRKSRC}/configure

post-install:
    ${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    ${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>