summaryrefslogtreecommitdiff
path: root/devel/sparse
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 16:09:00 +0000
committerjoerg <joerg>2009-07-08 16:09:00 +0000
commit86de9b03203afe188173d39c6e90fc55cbf5e57c (patch)
tree4429253657b81805031395d20c599a54a40c32ef /devel/sparse
parentbeaf4b912cc4712853ebdcb5aab2736660692513 (diff)
downloadpkgsrc-86de9b03203afe188173d39c6e90fc55cbf5e57c.tar.gz
user-destdir support
Diffstat (limited to 'devel/sparse')
-rw-r--r--devel/sparse/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/sparse/Makefile b/devel/sparse/Makefile
index de14dab4629..9ac9d777fe1 100644
--- a/devel/sparse/Makefile
+++ b/devel/sparse/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/21 20:46:43 reed Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/08 16:13:51 joerg Exp $
#
DISTNAME= sparse-0.3
@@ -9,14 +9,16 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
COMMENT= Semantic parser for C
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS+= share/doc/sparse
PKGCONFIG_OVERRIDE+= sparse.pc.in
REPLACE_PERL= cgcc
USE_TOOLS+= gmake perl:run
post-install:
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/sparse/
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/sparse/
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sparse/
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/sparse/
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/sparse/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/sparse/
.include "../../mk/bsd.pkg.mk"