37 lines
843 B
Makefile
37 lines
843 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= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.w3.org/People/Raggett/
|
|
DISTNAME= tidy4aug00
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= saken@hotel.rmta.org
|
|
COMMENT= Fixes and tidies up HTML files
|
|
|
|
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>
|