diff options
author | joerg <joerg> | 2009-07-08 16:09:00 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-08 16:09:00 +0000 |
commit | 86de9b03203afe188173d39c6e90fc55cbf5e57c (patch) | |
tree | 4429253657b81805031395d20c599a54a40c32ef /devel/sparse | |
parent | beaf4b912cc4712853ebdcb5aab2736660692513 (diff) | |
download | pkgsrc-86de9b03203afe188173d39c6e90fc55cbf5e57c.tar.gz |
user-destdir support
Diffstat (limited to 'devel/sparse')
-rw-r--r-- | devel/sparse/Makefile | 10 |
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" |