File:  [cvs.NetBSD.org] / pkgsrc / news / canlock-hp / Makefile
Revision 1.10: download - view: text, annotated - select for diffs
Mon Apr 29 12:34:31 2024 UTC (9 months, 2 weeks ago) by micha
Branches: MAIN
CVS tags: HEAD
news/canlock-hp: Improve pkg-config support.

- Add main include directory to Cflags in "libcanlock-hp-3.pc.in".
- Add PKGCONFIG_OVERRIDE to Makefile for runtime search path.

Bump PKGREVISION.

# $NetBSD: Makefile,v 1.10 2024/04/29 12:34:31 micha Exp $

DISTNAME=	libcanlock-3.3.0
PKGNAME=	${DISTNAME:S/libcanlock/canlock-hp/}
PKGREVISION=	2
CATEGORIES=	news
MASTER_SITES=	http://micha.freeshell.org/libcanlock/src/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	micha@NetBSD.org
HOMEPAGE=	https://micha.freeshell.org/libcanlock/
COMMENT=	Parsers for RFC 5536 message headers and RFC 8315 header fields
LICENSE=	mit

USE_TOOLS+=		lex yacc
FORCE_C_STD=		c99
USE_CC_FEATURES+=	c99
USE_LIBTOOL=		yes

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--enable-pc-files
CONFIGURE_ARGS+=	--with-pkgconfigdir=${PREFIX}/lib/pkgconfig

CONFIGURE_DIRS=	hp
BUILD_DIRS=	hp
TEST_TARGET=	test

PKGCONFIG_OVERRIDE+=	hp/libcanlock-hp-3.pc.in

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>