aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-10-13 19:27:34 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-10-13 19:27:34 +0800
commitfc35278ce3f87736358ffdc5788216234790c571 (patch)
tree76662466928791cca0abda4ecf30b93ad3af721a
parent3c6f056186455a101a02e900ad3ce6fa30cf1f80 (diff)
downloadfreebsd-ports-gnome-fc35278ce3f87736358ffdc5788216234790c571.tar.gz
freebsd-ports-gnome-fc35278ce3f87736358ffdc5788216234790c571.tar.zst
freebsd-ports-gnome-fc35278ce3f87736358ffdc5788216234790c571.zip
- Update to 20040725 version.
- Add $HTMLLINT_ADMIN to indicate admin address.
-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