aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ossp-cfg/Makefile
blob: 2bb27909c4568c7632266d27c23375e6bb05fb58 (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
27
# Created by: Alan Eldridge <alane@geeksrus.net>
# $FreeBSD$

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:${PORTSDIR}/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>