summaryrefslogtreecommitdiff
path: root/www/htmllint/Makefile
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-03-18 14:05:11 +0000
committerkei <kei@pkgsrc.org>2001-03-18 14:05:11 +0000
commitfb4cfbd2fa68cd6e2ee5f8e1ecd1eb6d47954b6f (patch)
treeda76d70e77f4645798016d5563baece238083ceb /www/htmllint/Makefile
parentcbfe4148529f4b6f3808c5d0120684b965204c10 (diff)
downloadpkgsrc-fb4cfbd2fa68cd6e2ee5f8e1ecd1eb6d47954b6f.tar.gz
* updated htmllint package to 2.36. Problem was noticed by David Brownlee
<abs@netbsd.org> in private message. Some bugs found in previous package was fixed also. Change list is available on its home page (in Japanese). htmllint.pm 2.36 2001/03/14 Supported iMode 3.0. 2.35 2001/03/05 Warn about non-blank text following <FIELDSET>. 2.34 2001/02/24 Support various ristrictions noted in comment of DTD by ISO/IEC 15545. As this, several warning are added. Character entity references are now considered when counting length for title, etc. 2.33 2001/02/13 Under some circumstances, <NOFRAMES> outside of <FRAMESET> warns inconsitently. htmllint.cgi 1.01 2001/03/08 Couldn't get resource properly when ommitting trailing '/' such as http://host 1.00 2001/02/01 Couldn't get resource properly when the URL contains authenticate information. As you already know, '2.36' is a version of htmllint.pm.
Diffstat (limited to 'www/htmllint/Makefile')
-rw-r--r--www/htmllint/Makefile28
1 files changed, 15 insertions, 13 deletions
diff --git a/www/htmllint/Makefile b/www/htmllint/Makefile
index d2173b28561..4e803998ec5 100644
--- a/www/htmllint/Makefile
+++ b/www/htmllint/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/03/14 05:13:04 kei Exp $
+# $NetBSD: Makefile,v 1.2 2001/03/18 14:05:11 kei Exp $
#
DISTNAME= htmllint
-PKGNAME= htmllint-2.32
+PKGNAME= htmllint-2.36
CATEGORIES= www japanese
MASTER_SITES= http://openlab.ring.gr.jp/k16/htmllint/archives/
EXTRACT_SUFX= .zip
@@ -18,27 +18,29 @@ NO_WRKSUBDIR= # defined
NO_CONFIGURE= # defined
NO_BUILD= # defined
-CGIDIR= ${PREFIX}/libexec/cgi-bin
-HTMLDIR= ${PREFIX}/share/httpd/htdocs/htmllint
+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
+ @${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 ${WRKSRC}/htmllintrc ${CGIDIR}
- ${INSTALL_DATA} ${WRKSRC}/htmllintenv ${CGIDIR}/htmllint.env
- ${INSTALL_SCRIPT_DIR} ${HTMLDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${WRKSRC}/*.pm ${HTMLDIR}
+ @${INSTALL_SCRIPT} ${WRKSRC}/htmllint ${PREFIX}/bin; \
+ ${INSTALL_SCRIPT_DIR} ${CGIDIR}; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${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}
+ ${WRKSRC}/*.html ${WRKSRC}/*.rul ${WRKSRC}/*.txt ${HTMLDIR}; \
+ ${INSTALL_DATA_DIR} ${IMGDIR}; \
${INSTALL_DATA} ${WRKSRC}/*.gif ${IMGDIR}
.include "../../mk/bsd.pkg.mk"