summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-02-09 20:59:57 +0000
committerwiz <wiz@pkgsrc.org>2013-02-09 20:59:57 +0000
commit05b8ecd9acb26b21262e568a0b1aa78c4cd05c8a (patch)
treea370a9e4ce617ce0aeedb4bd463b51d307136733 /pkgtools
parent71e5367c0a64be2818b30ad5621b77aae0f6bfa7 (diff)
downloadpkgsrc-05b8ecd9acb26b21262e568a0b1aa78c4cd05c8a.tar.gz
Add script to list TODO entries for installed packages.
Previously included in pkg_chk, but it doesn't fit there well. Bump version.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgsrc-todo/Makefile18
-rw-r--r--pkgtools/pkgsrc-todo/PLIST4
2 files changed, 15 insertions, 7 deletions
diff --git a/pkgtools/pkgsrc-todo/Makefile b/pkgtools/pkgsrc-todo/Makefile
index 2e23b6199fc..99bc86f0087 100644
--- a/pkgtools/pkgsrc-todo/Makefile
+++ b/pkgtools/pkgsrc-todo/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2012/10/03 21:57:16 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2013/02/09 20:59:57 wiz Exp $
#
-DISTNAME= pkgsrc-todo-1.1
-PKGREVISION= 1
+DISTNAME= pkgsrc-todo-1.2
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
@@ -26,23 +25,30 @@ SUBST_CLASSES+= todo
SUBST_STAGE.todo= post-configure
SUBST_FILES.todo+= add_todo.pl
SUBST_FILES.todo+= add_todo.1
+SUBST_FILES.todo+= list_todo.sh
SUBST_FILES.todo+= obsolete_todo.pl
SUBST_FILES.todo+= obsolete_todo.1
-SUBST_SED.todo+= -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
SUBST_SED.todo+= -e s\|pkgsrc/\|${PKGSRCDIR}/\|g
+SUBST_SED.todo+= -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
SUBST_SED.todo+= -e s\|@PERL@\|${PERL5:Q}\|g
+SUBST_SED.todo+= -e s\|@SED@\|${SED:Q}\|g
+SUBST_SED.todo+= -e s\|@PKG_INFO@\|${PKG_INFO:Q}\|g
do-extract:
- cd ${FILESDIR} && ${CP} add_todo.1 add_todo.pl obsolete_todo.1 \
- obsolete_todo.pl ${WRKSRC}
+ cd ${FILESDIR} && ${CP} add_todo.1 add_todo.pl list_todo.sh \
+ list_todo.1 obsolete_todo.1 obsolete_todo.pl ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/add_todo.pl \
${DESTDIR}${PREFIX}/bin/add_todo
+ ${INSTALL_SCRIPT} ${WRKSRC}/list_todo.sh \
+ ${DESTDIR}${PREFIX}/bin/list_todo
${INSTALL_SCRIPT} ${WRKSRC}/obsolete_todo.pl \
${DESTDIR}${PREFIX}/bin/obsolete_todo
${INSTALL_MAN} ${WRKSRC}/add_todo.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/list_todo.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/obsolete_todo.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
diff --git a/pkgtools/pkgsrc-todo/PLIST b/pkgtools/pkgsrc-todo/PLIST
index 00657c3ffa3..8b94e853134 100644
--- a/pkgtools/pkgsrc-todo/PLIST
+++ b/pkgtools/pkgsrc-todo/PLIST
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/30 10:40:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/02/09 20:59:57 wiz Exp $
bin/add_todo
+bin/list_todo
bin/obsolete_todo
man/man1/add_todo.1
+man/man1/list_todo.1
man/man1/obsolete_todo.1