mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
e39207bd80
PR: ports/122601 Submitted by: garga Approved by: maintainer timeout (16 days)
34 lines
756 B
Makefile
34 lines
756 B
Makefile
# New ports collection makefile for: libconfuse
|
|
# Date created: 18 September 2004
|
|
# Whom: Juraj Lutter <otis@sk.freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libconfuse
|
|
PORTVERSION= 2.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://bzero.se/confuse/
|
|
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
|
|
|
|
USE_ICONV= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gnomehack pkgconfig
|
|
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>
|