2006-04-16 14:12:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2006/04/16 12:12:25 wiz Exp $
|
2002-03-07 14:33:52 +01:00
|
|
|
#
|
2000-03-28 19:13:34 +02:00
|
|
|
|
2006-04-16 14:12:25 +02:00
|
|
|
DISTNAME= tidy_src_051026
|
|
|
|
PKGNAME= tidy-20051026
|
2000-03-28 19:13:34 +02:00
|
|
|
CATEGORIES= www
|
2002-03-07 14:33:52 +01:00
|
|
|
MASTER_SITES= http://tidy.sourceforge.net/src/ \
|
2002-03-08 12:55:43 +01:00
|
|
|
http://tidy.sourceforge.net/src/old/
|
2005-10-04 20:00:49 +02:00
|
|
|
SITES_tidy_docs_050705.tgz= http://tidy.sourceforge.net/docs/
|
2000-03-28 19:13:34 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2005-10-04 20:00:49 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tidy_docs_050705${EXTRACT_SUFX}
|
2000-03-28 19:13:34 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-11-22 17:37:05 +01:00
|
|
|
HOMEPAGE= http://tidy.sourceforge.net/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Fixes and tidies up HTML files
|
2000-03-28 19:13:34 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
BUILD_DEPENDS+= libxslt>=1.1.0:../../textproc/libxslt
|
2005-10-04 20:00:49 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/tidy
|
2003-10-28 13:33:48 +01:00
|
|
|
NO_CONFIGURE= yes
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2003-10-28 13:33:48 +01:00
|
|
|
BUILD_DIRS= ${WRKSRC}/build/gmake
|
|
|
|
|
2004-09-07 16:37:27 +02:00
|
|
|
OPSYSVARS+= MAKEFLAGS
|
|
|
|
MAKEFLAGS.Darwin+= RANLIB=ranlib
|
|
|
|
|
2005-10-04 20:00:49 +02:00
|
|
|
HTML_DOCFILES= Overview.html doxygen.cfg grid.gif quickref.html tidy.css \
|
2003-10-28 13:33:48 +01:00
|
|
|
faq.html license.html pending.html release-notes.html tidy.gif
|
|
|
|
HTML_DOCDIR= ${PREFIX}/share/doc/html/tidy
|
2002-11-22 17:37:05 +01:00
|
|
|
|
2005-10-04 20:00:49 +02:00
|
|
|
post-build:
|
|
|
|
cd ${BUILD_DIRS} && ${GMAKE} doc
|
|
|
|
|
2003-10-28 13:33:48 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${HTML_DOCDIR}
|
2005-10-04 20:00:49 +02:00
|
|
|
for doc in ${HTML_DOCFILES}; do \
|
2003-10-28 13:33:48 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/htmldoc/$$doc ${HTML_DOCDIR} ; \
|
|
|
|
done
|
|
|
|
${INSTALL_DATA_DIR} ${HTML_DOCDIR}/api
|
2005-10-04 20:00:49 +02:00
|
|
|
for apifile in ${WRKSRC}/htmldoc/api/* ; do \
|
|
|
|
${INSTALL_DATA} $$apifile ${HTML_DOCDIR}/api ; \
|
2003-10-28 13:33:48 +01:00
|
|
|
done
|
2000-03-28 19:13:34 +02:00
|
|
|
|
2000-03-28 19:22:19 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|