aboutsummaryrefslogtreecommitdiff
path: root/devel/ossp-cfg/Makefile
blob: 31b1b7d15237d07397d45fba87722dadf4f6e185 (plain) (blame)
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
# Created by: Alan Eldridge <alane@geeksrus.net>

PORTNAME=	cfg
PORTVERSION=	0.9.11
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	OSSP/lib/${PORTNAME}
PKGNAMEPREFIX=	ossp-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library for parsing arbitrary C/C++-style configuration files

LIB_DEPENDS=	libex.so:devel/ossp-ex

USES=		libtool
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-ex=${LOCALBASE}
USE_LDCONFIG=	yes

check:	build
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcfg.so

.include <bsd.port.mk>