- Do not rename todo.sh - Update CONFLICTS_INSTALL: - devel/devtodo: Remove deskutils/todo from CONFLICTS_INSTALL - deskutils/todo: Remove CONFLICTS_INSTALL - Bump PORTREVISION for package change PR: 288001 Reported by: Laurent Chardon <laurent.chardon@gmail.com>
32 lines
902 B
Makefile
32 lines
902 B
Makefile
PORTNAME= devtodo
|
|
PORTVERSION= 0.1.20
|
|
PORTREVISION= 4
|
|
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
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
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>
|