diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-08 00:15:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-08 00:15:49 +0000 |
commit | ffc28d6c568e9d8c4815e7286309dcf66f0135a1 (patch) | |
tree | c81aaa5d23988ec2e9d6708aa22fbd3f01ccf4c4 | |
parent | ad29720e9dc0f10d147e05ceefee0208d6e7429a (diff) | |
download | pkgsrc-ffc28d6c568e9d8c4815e7286309dcf66f0135a1.tar.gz |
DESTDIR support.
-rw-r--r-- | www/tidy/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/tidy/Makefile b/www/tidy/Makefile index 0ca7d8b95ec..3dac07d5a3f 100644 --- a/www/tidy/Makefile +++ b/www/tidy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2008/04/23 22:20:47 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2008/06/08 00:15:49 joerg Exp $ # DISTNAME= tidy-20080423 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tidy.sourceforge.net/ COMMENT= Fixes and tidies up HTML files +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_DEPENDS+= libxslt>=1.1.0:../../textproc/libxslt BUILD_DEPENDS+= doxygen>=1.0:../../devel/doxygen @@ -42,10 +44,10 @@ post-build: doxygen htmldoc/doxygen.cfg post-install: - ${INSTALL_MAN} ${WRKSRC}/htmldoc/tidy.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/htmldoc/tidy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 for doc in ${HTML_DOCFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/htmldoc/$$doc ${HTML_DOCDIR} ; \ + ${INSTALL_DATA} ${WRKSRC}/htmldoc/$$doc ${DESTDIR}${HTML_DOCDIR} ; \ done - ${INSTALL_DATA} ${WRKSRC}/htmldoc/api/* ${HTML_DOCDIR}/api + ${INSTALL_DATA} ${WRKSRC}/htmldoc/api/* ${DESTDIR}${HTML_DOCDIR}/api .include "../../mk/bsd.pkg.mk" |