diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-10-13 11:27:34 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-10-13 11:27:34 +0000 |
commit | 2f5d670b1aecb85b2d19011848bc97431d88c98c (patch) | |
tree | ee0ac8f109ae51c74937782663ffa156d22c7a86 /japanese/another-htmllint/Makefile | |
parent | Redone 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/another-htmllint/Makefile')
-rw-r--r-- | japanese/another-htmllint/Makefile | 18 |
1 files changed, 13 insertions, 5 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 |