pkgsrc/time/devtodo/Makefile
jlam 3f19815cc5 + Remove patch-aa which only changed the directory into which the
package installs the config file at installation time.  The simpler
  solution is to override sysconfdir via INSTALL_MAKE_FLAGS to point
  to the example files directory.

+ Instead of using custom termcap/curses detection/overriding logic
  in the package Makefile, simply allow termcap.buildlink3.mk (included
  indirectly via readline/buildlink3.mk) to do the right thing.  Bump
  the PKGREVISION to 1.

+ Add full DESTDIR support.

+ Simplify the post-install target.
2008-03-05 16:51:40 +00:00

36 lines
907 B
Makefile

# $NetBSD: Makefile,v 1.27 2008/03/05 16:51:40 jlam Exp $
DISTNAME= devtodo-0.1.20
PKGREVISION= 1
CATEGORIES= time
MASTER_SITES= http://swapoff.org/files/devtodo/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://swapoff.org/DevTodo
COMMENT= Display and manage a list of items that are outstanding
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_GNU_READLINE= # uses rl_startup_hook()
GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/devtodo
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
post-install:
.for CFILE in changelog2html \
changelog2todo \
tdrec \
todo-nodone-html.xslt \
todo2html-2.xslt \
todo2html.xslt \
todo2pdf.README \
todo2pdf.sh \
todo2pdf.xslt
${INSTALL_DATA} ${WRKSRC}/contrib/${CFILE} ${DESTDIR}${EGDIR}
.endfor
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"