diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /textproc/c2html | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'textproc/c2html')
-rw-r--r-- | textproc/c2html/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/c2html/Makefile b/textproc/c2html/Makefile index aaff49931d0..a4fc2c7d782 100644 --- a/textproc/c2html/Makefile +++ b/textproc/c2html/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/01/29 16:40:58 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:37 joerg Exp $ DISTNAME= c2html-20070126 CATEGORIES= textproc devel @@ -8,10 +8,12 @@ MAINTAINER= lkundrak@skosi.org HOMEPAGE= http://gavare.se/c2html/ COMMENT= Converts a C source tree to hyperlinked and colored HTML +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PREFIX}/share/doc/${PKGBASE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/c2html ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_PROGRAM} ${WRKSRC}/c2html ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .include "../../mk/bsd.pkg.mk" |