aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/meanwhile/Makefile
blob: 8e08ef1957d92f37120e670187b62c0dbd911a69 (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
# New ports collection makefile for:    meanwhile
# Date created:     24 June 2004
# Whom:         Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   meanwhile
PORTVERSION=    1.0.2
PORTREVISION=   3
CATEGORIES= net-im
MASTER_SITES=   SF

MAINTAINER= marcus@FreeBSD.org
COMMENT=    Open Source implementation of the Lotus Sametime protocol

USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_GNOME=  gnomehack glib20
USE_PKGCONFIG=  build
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-doxygen=no \
        --with-gmp-prefix=${LOCALBASE}
CPPFLAGS+=  -I${LOCALBASE}/include -DGLIB_COMPILATION
LDFLAGS+=   -L${LOCALBASE}/lib

DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}-doc-${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
        ${WRKSRC}/samples/*.c ${WRKSRC}/src/*.[ch]

.include <bsd.port.mk>