Wed Jul 8 16:13:51 2009 UTC ()
user-destdir support


(joerg)
diff -r1.1.1.1 -r1.2 pkgsrc/devel/sparse/Makefile

cvs diff -r1.1.1.1 -r1.2 pkgsrc/devel/sparse/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/sparse/Makefile 2007/05/21 20:46:43 1.1.1.1
+++ pkgsrc/devel/sparse/Makefile 2009/07/08 16:13:51 1.2
@@ -1,22 +1,24 @@ @@ -1,22 +1,24 @@
1# $NetBSD: Makefile,v 1.1.1.1 2007/05/21 20:46:43 reed Exp $ 1# $NetBSD: Makefile,v 1.2 2009/07/08 16:13:51 joerg Exp $
2# 2#
3 3
4DISTNAME= sparse-0.3 4DISTNAME= sparse-0.3
5CATEGORIES= devel lang 5CATEGORIES= devel lang
6MASTER_SITES= http://kernel.org/pub/software/devel/sparse/dist/ 6MASTER_SITES= http://kernel.org/pub/software/devel/sparse/dist/
7 7
8MAINTAINER= reed@reedmedia.net 8MAINTAINER= reed@reedmedia.net
9HOMEPAGE= http://kernel.org/pub/software/devel/sparse/ 9HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
10COMMENT= Semantic parser for C 10COMMENT= Semantic parser for C
11 11
 12PKG_DESTDIR_SUPPORT= user-destdir
 13
12INSTALLATION_DIRS+= share/doc/sparse 14INSTALLATION_DIRS+= share/doc/sparse
13PKGCONFIG_OVERRIDE+= sparse.pc.in 15PKGCONFIG_OVERRIDE+= sparse.pc.in
14REPLACE_PERL= cgcc 16REPLACE_PERL= cgcc
15USE_TOOLS+= gmake perl:run 17USE_TOOLS+= gmake perl:run
16 18
17post-install: 19post-install:
18 ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/sparse/ 20 ${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/sparse/
19 ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/sparse/ 21 ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/sparse/
20 ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sparse/ 22 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/sparse/
21 23
22.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"