summaryrefslogtreecommitdiff
path: root/textproc/libyaml/Makefile
blob: ae43eb918d9e40890a0969b49df9e92ac5b1cb9d (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
28
29
30
31
32
33
34
# $NetBSD: Makefile,v 1.13 2019/04/04 23:54:08 kamil Exp $

DIST_SUBDIR=	yaml # Remove for next version

DISTNAME=	yaml-0.2.2
PKGNAME=	lib${DISTNAME}
CATEGORIES=	textproc
MASTER_SITES=	http://pyyaml.org/download/libyaml/

PKGREVISION=	1

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://pyyaml.org/wiki/LibYAML
COMMENT=	YAML 1.1 parser and emitter written in C
LICENSE=	mit

USE_LIBTOOL=		yes
USE_TOOLS+=		autoconf automake
GNU_CONFIGURE=		yes
PKGCONFIG_OVERRIDE=	yaml-0.1.pc.in
TEST_TARGET=		check

#WRKSRC=		${WRKDIR}/lib${DISTNAME}

pre-configure:
	cd ${WRKSRC} && autoreconf -fiv

# cmake support is incomplete
#USE_CMAKE=		yes
#CMAKE_ARGS+=		-DBUILD_SHARED_LIBS:BOOL=ON
#post-install:
#	${RM} -rf ${DESTDIR}${PREFIX}/cmake

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