freebsd-ports/www/tidy-devel/Makefile
Alexey Zelkin 91eece0839 Add new option '-preserve' to preserve characters entities from source file
(i.e. leave them undecoded into plain characters). This feature will be utilized
by translation teams and was successfuly tested against Russian and Japanese
Translation Projects.

Also add simple hack to not to display annoying "Can't open ~/.tidyrc" warning
message in case if ~/.tidyrc file missing.

Bump PORTREVISION.

Approved by:	Scott Kenney <saken@hotel.rmta.org> (maintainer)
Tested by:	myself, hrs
2001-11-22 15:24:54 +00:00

35 lines
803 B
Makefile

# New ports collection makefile for: tidy
# Date created: 27 Oct 1998
# Whom: Abel Chow <achow@transoft.net>
#
# $FreeBSD$
#
PORTNAME= tidy
PORTVERSION= 20000804
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.w3.org/People/Raggett/
DISTNAME= tidy4aug00
EXTRACT_SUFX= .tgz
MAINTAINER= saken@hotel.rmta.org
MAN1= tidy.1
ALL_TARGET= tidy
DOCFILES= Overview.html tidy.gif release-notes.html grid.gif
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/tidy ${PREFIX}/bin/tidy
@${INSTALL_MAN} ${WRKSRC}/man_page.txt ${PREFIX}/man/man1/tidy.1
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${PREFIX}/share/doc/tidy
.for docfile in ${DOCFILES}
@${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/tidy
.endfor
.endif
.include <bsd.port.mk>