aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/meanwhile/Makefile
blob: dd8c55daf4cbe36d48bbbe8b70368722e6609104 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

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

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

USE_AUTOTOOLS=  libtool
USES=       pkgconfig gmake pathfix
USE_GNOME=  glib20
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
USE_GCC=    any
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>