aboutsummaryrefslogtreecommitdiff
path: root/devel/devtodo/Makefile
blob: 2e78dd1fcf97c8920b7eb507645f3cb6b6e6bd7d (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=	devtodo
PORTVERSION=	0.1.20
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	http://swapoff.org/files/devtodo/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool to effectively maintain todo lists aimed at developers
WWW=		https://swapoff.org/devtodo.html

CONFLICTS_INSTALL=	deforaos-todo tdl todo

GNU_CONFIGURE=	yes
USES=		ncurses readline

OPTIONS_DEFINE=	EXAMPLES

# Note: without this define util/regex.c doesn't compile due to redeclaration
# of malloc and realloc functions. Adding this define was the simplest
# (although not elegant) solution.
CFLAGS+=	-DSTDC_HEADERS

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for file in scripts.sh scripts.tcsh todorc.example
	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${EXAMPLESDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/doc/todorc.example ${STAGEDIR}${PREFIX}/etc/todorc.sample

.include <bsd.port.mk>