summaryrefslogtreecommitdiff
path: root/www/htmllint/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-19 13:18:31 +0000
committerwiz <wiz@pkgsrc.org>2004-07-19 13:18:31 +0000
commit26cee512b2eb5c1093629fa6661fb1fc0cdddfa2 (patch)
tree5ad69c4dc8460cf69fe19c5fb5f935e6bca63ac1 /www/htmllint/Makefile
parentd7b0672e4b2b02a00a99c8dcc6796c29f6ccbd30 (diff)
downloadpkgsrc-26cee512b2eb5c1093629fa6661fb1fc0cdddfa2.tar.gz
Update to 20040716 (changes unknown); also try to address PR 25089
by Kazu Yamamoto.
Diffstat (limited to 'www/htmllint/Makefile')
-rw-r--r--www/htmllint/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/htmllint/Makefile b/www/htmllint/Makefile
index eaa6fae2ca3..953c35c161f 100644
--- a/www/htmllint/Makefile
+++ b/www/htmllint/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2004/04/07 12:01:18 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2004/07/19 13:18:31 wiz Exp $
#
DISTNAME= htmllint
-PKGNAME= htmllint-20040406
+PKGNAME= htmllint-20040719
CATEGORIES= www japanese
MASTER_SITES= http://openlab.ring.gr.jp/k16/htmllint/archives/
EXTRACT_SUFX= .zip
@@ -14,7 +14,7 @@ COMMENT= Another HTML-Lint program
DEPENDS+= p5-Jcode>=0.68:../../converters/p5-Jcode
WRKSRC= ${WRKDIR}
-DIST_SUBDIR= ${PKGNAME}
+DIST_SUBDIR= ${PKGNAME_NOREV}
REPLACE_PERL= htmllint.cgi htmllint parsedtd.pl tagslist.cgi
USE_PERL5= # defined
@@ -25,14 +25,14 @@ HTMLDIR= ${LOCALBASE}/share/httpd/htdocs/htmllint
IMGDIR= ${HTMLDIR}/images
post-patch:
-.for f in faq.html htmllintenv htmllint
+.for f in faq.html htmllintenv htmllint htmllint.caller
@${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} ${WRKSRC}/htmllint.caller ${PREFIX}/bin/htmllint; \
${INSTALL_SCRIPT_DIR} ${CGIDIR}; \
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${CGIDIR}; \
${INSTALL_DATA} ${WRKSRC}/htmllintrc ${CGIDIR}; \
@@ -40,6 +40,7 @@ do-install:
${TEST} -f ${CGIDIR}/htmllint.env || \
${CP} ${CGIDIR}/htmllint.env.default ${CGIDIR}/htmllint.env; \
${INSTALL_SCRIPT_DIR} ${HTMLDIR}; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/htmllint ${HTMLDIR}; \
${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${WRKSRC}/*.pm ${HTMLDIR}; \
${INSTALL_DATA} ${WRKSRC}/*.css ${WRKSRC}/*.dtd ${WRKSRC}/*.ent \
${WRKSRC}/*.html ${WRKSRC}/*.rul ${WRKSRC}/*.txt ${HTMLDIR}; \