Fixed pkglint warnings.

This commit is contained in:
rillig 2006-07-10 10:43:31 +00:00
parent 9478d6f159
commit 34f3d4412b

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2006/02/05 23:11:24 joerg Exp $ # $NetBSD: Makefile,v 1.26 2006/07/10 10:43:31 rillig Exp $
# #
DISTNAME= htmllint DISTNAME= htmllint
@ -28,27 +28,26 @@ IMGDIR= ${HTMLDIR}/images
INSTALLATION_DIRS= bin INSTALLATION_DIRS= bin
post-patch: SUBST_CLASSES+= hl
.for f in faq.html htmllintenv htmllint htmllint.caller SUBST_STAGE.hl= pre-configure
@${MV} ${WRKSRC}/${f} ${WRKSRC}/${f}.orig; \ SUBST_MESSAGE.hl= Setting PREFIX.
${SED} -e 's!@PREFIX@!${PREFIX}!g' < ${WRKSRC}/${f}.orig \ SUBST_FILES.hl= faq.html htmllintenv htmllint htmllint.caller
> ${WRKSRC}/${f} SUBST_SED.hl= -e 's!@PREFIX@!${PREFIX}!g'
.endfor
do-install: do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/htmllint.caller ${PREFIX}/bin/htmllint; \ ${INSTALL_SCRIPT} ${WRKSRC}/htmllint.caller ${PREFIX}/bin/htmllint
${INSTALL_SCRIPT_DIR} ${CGIDIR}; \ ${INSTALL_SCRIPT_DIR} ${CGIDIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${CGIDIR}; \ ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${CGIDIR}
${INSTALL_DATA} ${WRKSRC}/htmllintrc ${CGIDIR}; \ ${INSTALL_DATA} ${WRKSRC}/htmllintrc ${CGIDIR}
${INSTALL_DATA} ${WRKSRC}/htmllintenv ${CGIDIR}/htmllint.env.default; \ ${INSTALL_DATA} ${WRKSRC}/htmllintenv ${CGIDIR}/htmllint.env.default
${TEST} -f ${CGIDIR}/htmllint.env || \ ${TEST} -f ${CGIDIR}/htmllint.env \
${CP} ${CGIDIR}/htmllint.env.default ${CGIDIR}/htmllint.env; \ || ${INSTALL_DATA} ${CGIDIR}/htmllint.env.default ${CGIDIR}/htmllint.env
${INSTALL_SCRIPT_DIR} ${HTMLDIR}; \ ${INSTALL_SCRIPT_DIR} ${HTMLDIR}
${INSTALL_SCRIPT} ${WRKSRC}/htmllint ${HTMLDIR}; \ ${INSTALL_SCRIPT} ${WRKSRC}/htmllint ${HTMLDIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${WRKSRC}/*.pm ${HTMLDIR}; \ ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${WRKSRC}/*.pm ${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/*.css ${WRKSRC}/*.dtd ${WRKSRC}/*.ent \ cd ${WRKSRC} && ${INSTALL_DATA} *.css *.dtd *.ent *.html *.rul \
${WRKSRC}/*.html ${WRKSRC}/*.rul ${WRKSRC}/*.txt ${HTMLDIR}; \ *.txt ${HTMLDIR}
${INSTALL_DATA_DIR} ${IMGDIR}; \ ${INSTALL_DATA_DIR} ${IMGDIR}
${INSTALL_DATA} ${WRKSRC}/*.gif ${IMGDIR} ${INSTALL_DATA} ${WRKSRC}/*.gif ${IMGDIR}
.include "../../mk/bsd.pkg.mk" .include "../../mk/bsd.pkg.mk"