aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ossp-cfg/Makefile
blob: 16d21c7df466893aafdc18d937bbcb79ba9d7036 (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: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>