[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / sparse

File: [cvs.NetBSD.org] / pkgsrc / devel / sparse / Makefile (download)

Revision 1.8, Mon Jan 27 18:41:12 2014 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.7: +1 -3 lines

Do not set FETCH_USING, should not be set in a package Makefile.

# $NetBSD: Makefile,v 1.8 2014/01/27 18:41:12 wiz Exp $

DISTNAME=	sparse-0.4.4
PKGREVISION=	1
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"