aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/iksemel/Makefile
blob: 78505c3e5f82add9531b2afe7cc7e71dd3039200 (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
# New ports collection makefile for:    iksemel
# Date created:         24 April 2006
# Whom:             trasz
#
# $FreeBSD$
#

PORTNAME=   iksemel
PORTVERSION=    1.4
PORTREVISION=   3
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= rhaamo@gruik.at
COMMENT=    XML parser library mainly designed for Jabber applications

LIB_DEPENDS=    gnutls.47:${PORTSDIR}/security/gnutls

USE_AUTOTOOLS=  aclocal autoheader automake autoconf libtool
ACLOCAL_ARGS=   -I ${LOCALBASE}/share/aclocal
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG=   yes

INFO=   iksemel

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|@setfilename iksemel|@setfilename iksemel.info|' \
        ${WRKSRC}/doc/iksemel.texi
    @${REINPLACE_CMD} -e 's|pkgconfigdir=$$(libdir)/pkgconfig|pkgconfigdir=$${prefix}/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.am

.include <bsd.port.post.mk>