summaryrefslogtreecommitdiff
path: root/devel/sparse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sparse/Makefile')
-rw-r--r--devel/sparse/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/sparse/Makefile b/devel/sparse/Makefile
new file mode 100644
index 00000000000..de14dab4629
--- /dev/null
+++ b/devel/sparse/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/21 20:46:43 reed Exp $
+#
+
+DISTNAME= sparse-0.3
+CATEGORIES= devel lang
+MASTER_SITES= http://kernel.org/pub/software/devel/sparse/dist/
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
+COMMENT= Semantic parser for C
+
+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/
+
+.include "../../mk/bsd.pkg.mk"