aboutsummaryrefslogtreecommitdiff
path: root/devel/tdl/Makefile
blob: af19295402f1fe086c9c70baff80e0877e0c883c (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
PORTNAME=	tdl
PORTVERSION=	1.5.2
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://www.rpcurnow.force9.co.uk/tdl/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	To-do list manager
WWW=		http://www.rc0.org.uk/tdl/

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

CONFLICTS=	devtodo

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>