diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | 7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /textproc/c2html | |
parent | 534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff) | |
download | pkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.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" |