blob: 28f67c81b258d5f70aeb993b3eba6a64ebf7af4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.16 2022/06/28 11:33:43 wiz Exp $
DISTNAME= sparse-0.4.4
PKGREVISION= 9
CATEGORIES= devel lang
MASTER_SITES= https://kernel.org/pub/software/devel/sparse/dist/
EXTRACT_SUFX= .tar.xz
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://kernel.org/pub/software/devel/sparse/
COMMENT= Semantic parser for C
# The license in the tarball appears to be a different (older) version
# from the one in pkgsrc/licenses. I have no idea how significant this
# might be.
#LICENSE= osl
INSTALLATION_DIRS+= share/doc/sparse
PKGCONFIG_OVERRIDE+= sparse.pc.in
REPLACE_PERL= cgcc
USE_TOOLS+= gmake perl:run
post-install:
${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"
|