Merge from vendor branch TNF:
[pkgsrcv2.git] / time / devtodo / Makefile
1 # $NetBSD: Makefile,v 1.28 2008/11/24 08:23:39 obache Exp $
2
3 DISTNAME=       devtodo-0.1.20
4 PKGREVISION=    3
5 CATEGORIES=     time
6 MASTER_SITES=   http://swapoff.org/files/devtodo/
7
8 MAINTAINER=     pkgsrc-users@NetBSD.org
9 HOMEPAGE=       http://swapoff.org/DevTodo
10 COMMENT=        Display and manage a list of items that are outstanding
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 USE_LANGUAGES=          c c++
15 USE_LIBTOOL=            yes
16 USE_GNU_READLINE=       # uses rl_startup_hook()
17 GNU_CONFIGURE=          yes
18
19 EGDIR=                  ${PREFIX}/share/examples/devtodo
20 INSTALL_MAKE_FLAGS+=    sysconfdir=${EGDIR}
21
22 post-install:
23 .for CFILE in   changelog2html                                          \
24                 changelog2todo                                          \
25                 tdrec                                                   \
26                 todo-nodone-html.xslt                                   \
27                 todo2html-2.xslt                                        \
28                 todo2html.xslt                                          \
29                 todo2pdf.README                                         \
30                 todo2pdf.sh                                             \
31                 todo2pdf.xslt
32         ${INSTALL_DATA} ${WRKSRC}/contrib/${CFILE} ${DESTDIR}${EGDIR}
33 .endfor
34
35 .include "../../devel/readline/buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"