summaryrefslogtreecommitdiffstats
path: root/textproc/redland/Makefile
blob: fc85cec66253a5608015da89acd26bc748f70d3b (plain)
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
38
39
40
# ex:ts=8
# New ports collection makefile for:	redland
# Date created:			Nov 22, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	redland
PORTVERSION=	0.9.11
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://www.redland.opensource.ac.uk/dist/source/
MASTER_SITE_SUBDIR=	librdf

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2 \
		gdbm.2:${PORTSDIR}/databases/gdbm \
		expat.3:${PORTSDIR}/textproc/expat2 \
		xml2.5:${PORTSDIR}/textproc/libxml2 \
		xmlparse.1:${PORTSDIR}/www/libwww

LIBWWW_CONFIG?=	${LOCALBASE}/bin/libwww-config

USE_OPENSSL=	yes
USE_PERL5=	yes
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	--with-bdb=${LOCALBASE} --with-libwww
INSTALLS_SHLIB=	yes

MAN3=		redland.3

CPPFLAGS=	-I${LOCALBASE}/include/db2 -I${LOCALBASE}/include \
		`${LIBWWW_CONFIG} --cflags`
LDFLAGS=	-L${LOCALBASE}/lib `${LIBWWW_CONFIG} --libs`

.include <bsd.port.mk>
OpenPOWER on IntegriCloud