7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
27 lines
872 B
Makefile
27 lines
872 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/05/29 23:36:29 wiz Exp $
|
|
|
|
DISTNAME= sparse-0.4.4
|
|
PKGREVISION= 2
|
|
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"
|