07b93e334d
previous number 2.36 was that of htmllint.pm. - htmllintrc is not a script, so no need to install it as a executable. Changes from previous version. htmllint.cgi 1.01 / htmllint.pm 2.42 all 2001/04/13 add support for XHTML1.1(Proposed Recommendation). 2001/03/20 add support for revised ISO/IEC 15445:2000. htmllint.pm 2.42 2001/04/11 value of REL, REV attribute is string separated by space. 2.41 2001/04/10 fix of 2.40 was incorrect. 2.40 2001/04/08 Judgement of <RUBY> on XHTML1.1 was incorrect. It is not perfect, but anyway. 2.39 2001/03/25 put warning for SPAN attribute which has a <COL> as an element in <COLGROUP>.
47 lines
1.5 KiB
Makefile
47 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2001/04/21 13:28:09 kei Exp $
|
|
#
|
|
|
|
DISTNAME= htmllint
|
|
PKGNAME= htmllint-20010413
|
|
CATEGORIES= www japanese
|
|
MASTER_SITES= http://openlab.ring.gr.jp/k16/htmllint/archives/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= kei@netbsd.org
|
|
HOMEPAGE= http://openlab.ring.gr.jp/k16/htmllint/
|
|
COMMENT= Another HTML-Lint program
|
|
|
|
DEPENDS+= p5-Jcode>=0.68:../../japanese/p5-Jcode
|
|
|
|
USE_PERL5= # defined
|
|
NO_WRKSUBDIR= # defined
|
|
NO_CONFIGURE= # defined
|
|
NO_BUILD= # defined
|
|
|
|
CGIDIR= ${LOCALBASE}/libexec/cgi-bin
|
|
HTMLDIR= ${LOCALBASE}/share/httpd/htdocs/htmllint
|
|
IMGDIR= ${HTMLDIR}/images
|
|
|
|
post-patch:
|
|
.for f in faq.html htmllint.cgi htmllint htmllintenv parsedtd.pl tagslist.cgi
|
|
@${MV} ${WRKSRC}/${f} ${WRKSRC}/${f}.orig; \
|
|
${SED} -e 's!@PREFIX@!${PREFIX}!g' < ${WRKSRC}/${f}.orig \
|
|
> ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/htmllint ${PREFIX}/bin; \
|
|
${INSTALL_SCRIPT_DIR} ${CGIDIR}; \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${CGIDIR}; \
|
|
${INSTALL_DATA} ${WRKSRC}/htmllintrc ${CGIDIR}; \
|
|
${INSTALL_DATA} ${WRKSRC}/htmllintenv ${CGIDIR}/htmllint.env.default; \
|
|
${TEST} -f ${CGIDIR}/htmllint.env || \
|
|
${CP} ${CGIDIR}/htmllint.env.default ${CGIDIR}/htmllint.env; \
|
|
${INSTALL_SCRIPT_DIR} ${HTMLDIR}; \
|
|
${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${WRKSRC}/*.pm ${HTMLDIR}; \
|
|
${INSTALL_DATA} ${WRKSRC}/*.css ${WRKSRC}/*.dtd ${WRKSRC}/*.ent \
|
|
${WRKSRC}/*.html ${WRKSRC}/*.rul ${WRKSRC}/*.txt ${HTMLDIR}; \
|
|
${INSTALL_DATA_DIR} ${IMGDIR}; \
|
|
${INSTALL_DATA} ${WRKSRC}/*.gif ${IMGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|