blob: 3b14f99b6861afcc29fc309a52dbfb669e6228c3 (
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
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: devtodo
# Date Created: 26 May 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#
PORTNAME= devtodo
PORTVERSION= 0.1.20
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://swapoff.org/files/devtodo/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to effectively maintain todo lists aimed at developers
CONFLICTS= tdl-[0-9]* todo-[0-9]*
GNU_CONFIGURE= yes
# 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
MAN1= devtodo.1
MLINKS= devtodo.1 tda.1 devtodo.1 tdd.1 devtodo.1 tde.1 devtodo.1 tdl.1 \
devtodo.1 tdr.1 devtodo.1 todo.1
MANCOMPRESSED= no
post-patch:
@${REINPLACE_CMD} -e 's/^\ttest -f.*todorc.*\n//' ${WRKSRC}/doc/Makefile.in
post-install:
@${MKDIR} ${EXAMPLESDIR}
.for file in scripts.sh scripts.tcsh todorc.example
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${EXAMPLESDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/todorc.example ${PREFIX}/etc/todorc.sample
.include <bsd.port.mk>
|