summaryrefslogtreecommitdiff
path: root/www/tidy/Makefile
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2003-10-28 12:33:48 +0000
committercube <cube@pkgsrc.org>2003-10-28 12:33:48 +0000
commite6ca13d549c2a5eb44fc598722c78249b941b450 (patch)
treef2b8007a45c5910b11c517661b10b81aa337b852 /www/tidy/Makefile
parentfa3c31194265ad272ee3e9ed1ecf60ff7ca76cfd (diff)
downloadpkgsrc-e6ca13d549c2a5eb44fc598722c78249b941b450.tar.gz
Update tidy to 20031002, and docs to 20030610. No ChangeLog available,
unfortunately. Tidy now comes with a (static) library, thus a buildlink2.mk file is now provided. There's no need to set PRESERVE_FILE_TIMES in CFLAGS anymore, thus PR pkg/20489 is fixed.
Diffstat (limited to 'www/tidy/Makefile')
-rw-r--r--www/tidy/Makefile38
1 files changed, 20 insertions, 18 deletions
diff --git a/www/tidy/Makefile b/www/tidy/Makefile
index cc7ef9b876c..b087dc2fd12 100644
--- a/www/tidy/Makefile
+++ b/www/tidy/Makefile
@@ -1,35 +1,37 @@
-# $NetBSD: Makefile,v 1.11 2003/07/17 22:56:05 grant Exp $
+# $NetBSD: Makefile,v 1.12 2003/10/28 12:33:48 cube Exp $
#
-DISTNAME= tidy_src_021108
-PKGNAME= tidy-20021108
+DISTNAME= tidy_src_031002
+PKGNAME= tidy-20031002
WRKSRC= ${WRKDIR}/tidy
CATEGORIES= www
MASTER_SITES= http://tidy.sourceforge.net/src/ \
http://tidy.sourceforge.net/docs/ \
http://tidy.sourceforge.net/src/old/
EXTRACT_SUFX= .tgz
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tidy_docs_021021${EXTRACT_SUFX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tidy_docs_030610${EXTRACT_SUFX}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://tidy.sourceforge.net/
COMMENT= Fixes and tidies up HTML files
-ALL_TARGET= tidy
-CFLAGS+= -DPRESERVE_FILE_TIMES=0
-
-DOCFILES= htmldoc/Overview.html htmldoc/tidy.gif \
- htmldoc/release-notes.html htmldoc/grid.gif
-
+USE_BUILDLINK2= yes
+NO_CONFIGURE= yes
USE_GMAKE= yes
+BUILD_DIRS= ${WRKSRC}/build/gmake
+
+HTML_DOCFILES= Overview.html doxygen.cfg grid.gif quickref.html tidy.css \
+ faq.html license.html pending.html release-notes.html tidy.gif
+HTML_DOCDIR= ${PREFIX}/share/doc/html/tidy
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/tidy ${PREFIX}/bin/tidy
- @${INSTALL_MAN} ${WRKSRC}/man_page.txt ${PREFIX}/man/man1/tidy.1
- @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tidy
-.for docfile in ${DOCFILES}
- @${INSTALL_DATA} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/tidy
-.endfor
+post-install:
+ ${INSTALL_DATA_DIR} ${HTML_DOCDIR}
+ for doc in ${HTML_DOCFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/htmldoc/$$doc ${HTML_DOCDIR} ; \
+ done
+ ${INSTALL_DATA_DIR} ${HTML_DOCDIR}/api
+ for apifile in ${WRKSRC}/htmldoc/api/* ; do \
+ ${INSTALL_DATA} $$apifile ${HTML_DOCDIR}/api ; \
+ done
.include "../../mk/bsd.pkg.mk"