03f7c4ed17
From maintainer Eduardo Alvarenga <eduardo at thrx.org>
43 lines
967 B
Makefile
43 lines
967 B
Makefile
# $OpenBSD: Makefile,v 1.15 2004/03/02 23:10:29 xsa Exp $
|
|
|
|
COMMENT= "validate, correct, and pretty-print HTML files"
|
|
|
|
TIDYDATE= 040301
|
|
DISTNAME= tidy_src_${TIDYDATE}
|
|
PKGNAME= tidy-${TIDYDATE}
|
|
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= Eduardo Alvarenga <eduardo@thrx.org>
|
|
|
|
HOMEPAGE= http://tidy.sourceforge.net/
|
|
|
|
# BSD-like, badly worded
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}src/ \
|
|
${HOMEPAGE}src/old/
|
|
MASTER_SITES0= ${HOMEPAGE}docs/
|
|
EXTRACT_SUFX= .tgz
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
tidy_docs_030610${EXTRACT_SUFX}:0
|
|
|
|
USE_GMAKE= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/tidy
|
|
WRKBUILD= ${WRKDIST}/build/gmake
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/tidy
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/htmldoc/*.{cfg,css,gif,html} ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/api
|
|
${INSTALL_DATA} ${WRKDIST}/htmldoc/api/* ${DOCDIR}/api
|
|
|
|
.include <bsd.port.mk>
|