110f3583b6
Exp-run by: bdrewery
28 lines
634 B
Makefile
28 lines
634 B
Makefile
# Created by: Juraj Lutter <otis@sk.freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libconfuse
|
|
PORTVERSION= 2.7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SAVANNAH
|
|
MASTER_SITE_SUBDIR= confuse
|
|
DISTNAME= confuse-${PORTVERSION}
|
|
|
|
MAINTAINER= otis@freebsd.sk
|
|
COMMENT= Configuration file parsing library
|
|
|
|
.if defined(WITH_CHECK)
|
|
LIB_DEPENDS+= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck
|
|
.endif
|
|
|
|
USES= iconv pathfix pkgconfig
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
CFLAGS+= -I${WRKSRC}/src
|
|
.if defined(WITH_CHECK)
|
|
CONFIGURE_ARGS+= --with-check=${LOCALBASE}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|