blob: a2630f45ef2b8267af63acb3cf334d23c01e831f (
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
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: libconfuse
# Date created: 18 September 2004
# Whom: Juraj Lutter <otis@sk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libconfuse
PORTVERSION= 2.5
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
ftp://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/
MASTER_SITE_SUBDIR= confuse
DISTNAME= confuse-${PORTVERSION}
MAINTAINER= otis@freebsd.sk
COMMENT= Configuration file parsing library
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
.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
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>
|