summaryrefslogtreecommitdiff
path: root/textproc/c2html/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/c2html/Makefile')
-rw-r--r--textproc/c2html/Makefile8
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"