aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/iksemel/Makefile
blob: e8ddad20b0d6a6ebbb4b79226176d49834b7246f (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
# Created by: trasz
# $FreeBSD$

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

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

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

USE_AUTOTOOLS=  aclocal autoheader automake autoconf libtool
ACLOCAL_ARGS=   -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS=  --add-missing
GNU_CONFIGURE=  yes
CPPFLAGS+=  ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_LDCONFIG=   yes
USES=       pkgconfig

INFO=   iksemel

NO_STAGE=   yes
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.mk>