pkgsrc/pkgtools/pkgsrc-todo/Makefile
rillig b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00

53 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2020/01/18 23:33:26 rillig Exp $
PKGNAME= pkgsrc-todo-1.3
PKGREVISION= 4
CATEGORIES= pkgtools
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= https://www.NetBSD.org/docs/pkgsrc/
COMMENT= Tools for maintaing pkgsrc/doc/TODO
DEPENDS+= p5-pkgsrc-Dewey-[0-9]*:../../pkgtools/p5-pkgsrc-Dewey
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_LANGUAGES= # none
USE_TOOLS+= perl:run
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
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\|pkgsrc/\|${PKGSRCDIR}/\|g
SUBST_VARS.todo= PKGSRCDIR
SUBST_SED.todo+= -e s\|@PERL@\|${PERL5:Q}\|g
SUBST_VARS.todo+= SED
SUBST_VARS.todo+= PKG_INFO
do-extract:
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
.include "../../mk/bsd.pkg.mk"