1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/www/tidy/Makefile
Dirk Meyer 954b32d73f - remove broken MANPREFIX
- update LICENSE
2014-03-04 06:52:19 +00:00

39 lines
894 B
Makefile

# Created by: Abel Chow <achow@transoft.net>
# $FreeBSD$
PORTNAME= tidy4
PORTVERSION= 20000804
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.w3.org/People/Raggett/
DISTNAME= tidy4aug00
EXTRACT_SUFX= .tgz
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Fixes and tidies up HTML files
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${FILESDIR}/COPYRIGHT
ALL_TARGET= tidy
DOCFILES= Overview.html tidy.gif release-notes.html grid.gif
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in ${DOCFILES}
${INSTALL_MAN} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>