summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-10-13 11:27:34 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-10-13 11:27:34 +0000
commit2f5d670b1aecb85b2d19011848bc97431d88c98c (patch)
treeee0ac8f109ae51c74937782663ffa156d22c7a86 /japanese
parentRedone gcc 3.4 build fix. Previous aproach just made gcc quiet (diff)
- Update to 20040725 version.
- Add $HTMLLINT_ADMIN to indicate admin address.
Notes
Notes: svn path=/head/; revision=119203
Diffstat (limited to 'japanese')
-rw-r--r--japanese/another-htmllint/Makefile18
-rw-r--r--japanese/another-htmllint/distinfo4
2 files changed, 15 insertions, 7 deletions
diff --git a/japanese/another-htmllint/Makefile b/japanese/another-htmllint/Makefile
index 41e1405a3e3d..5c73272a915c 100644
--- a/japanese/another-htmllint/Makefile
+++ b/japanese/another-htmllint/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= another-htmllint
-PORTVERSION= 20040421
+PORTVERSION= 20040725
CATEGORIES= japanese www
MASTER_SITES= http://dist.bsdlab.org/
@@ -26,11 +26,19 @@ RULE= *.rul
HTML= *.cgi *.html *.gif *.css
SEDSUB= ${SED} -e 's@%PREFIX%@${PREFIX}@'
+# Please set this!
+HTMLLINT_ADMIN?= kuriyama@FreeBSD.org
+
do-build:
- ${SEDSUB} ${FILESDIR}/htmllint > ${WRKSRC}/htmllint
- ${SEDSUB} ${WRKSRC}/htmllintenv > ${WRKSRC}/htmllint.env
- ${SEDSUB} ${WRKSRC}/htmllint.cgi > ${WRKSRC}/htmllint.cgi.new
- ${MV} ${WRKSRC}/htmllint.cgi.new ${WRKSRC}/htmllint.cgi
+ @${SEDSUB} ${FILESDIR}/htmllint > ${WRKSRC}/htmllint
+ @${SEDSUB} ${WRKSRC}/htmllintenv > ${WRKSRC}/htmllint.env
+ @${SEDSUB} ${WRKSRC}/htmllint.cgi > ${WRKSRC}/htmllint.cgi.new
+ @${MV} ${WRKSRC}/htmllint.cgi.new ${WRKSRC}/htmllint.cgi
+ @${SED} -i.bak -e 's|^</address>|</address><br>Maintained by <address>${HTMLLINT_ADMIN}</address>|' ${WRKSRC}/*.html
+.if exists(${LOCALBASE}/bin/w3m)
+ @${ECHO_MSG} "Find w3m."
+ @${SED} -i.bak -e 's|^#$$W3M|$$W3M|' ${WRKSRC}/htmllint.env
+.endif
do-install:
${MKDIR} ${DIR}/rule ${DIR}/html
diff --git a/japanese/another-htmllint/distinfo b/japanese/another-htmllint/distinfo
index e5e848141690..fd944d39e3a1 100644
--- a/japanese/another-htmllint/distinfo
+++ b/japanese/another-htmllint/distinfo
@@ -1,2 +1,2 @@
-MD5 (another-htmllint-20040421.zip) = d2b17556417d0fe9c7afb56c616ee07e
-SIZE (another-htmllint-20040421.zip) = 690306
+MD5 (another-htmllint-20040725.zip) = 43b92630514853d7276fe9d3677c1c59
+SIZE (another-htmllint-20040725.zip) = 690888