1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/www/tidy/Makefile
2021-04-06 16:31:07 +02:00

36 lines
852 B
Makefile

# Created by: Abel Chow <achow@transoft.net>
PORTNAME= tidy4
PORTVERSION= 20000804
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.w3.org/People/Raggett/
DISTNAME= tidy4aug00
MAINTAINER= ports@FreeBSD.org
COMMENT= Fixes and tidies up HTML files
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${FILESDIR}/COPYRIGHT
USES= tar:tgz
ALL_TARGET= tidy
PLIST_FILES= bin/tidy4 man/man1/tidy4.1.gz
PORTDOCS= Overview.html tidy.gif release-notes.html grid.gif
OPTIONS_DEFINE= DOCS
do-configure:
${REINPLACE_CMD} -e 's|tidy|tidy4|' ${WRKSRC}/man_page.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tidy ${STAGEDIR}${PREFIX}/bin/tidy4
${INSTALL_MAN} ${WRKSRC}/man_page.txt \
${STAGEDIR}${PREFIX}/man/man1/tidy4.1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>