aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgalago/Makefile
blob: 330248ca7277e5c1e23d6f5650aec36e310cf427 (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
# $FreeBSD$

PORTNAME=   libgalago
PORTVERSION=    0.5.2
PORTREVISION=   3
CATEGORIES= devel deskutils
MASTER_SITES=   http://www.galago-project.org/files/releases/source/${PORTNAME}/

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Galago desktop presence library

LIB_PC_DEPENDS= dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib

BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
RUN_DEPENDS+=   ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}

USES=   pathfix
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-tests
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-configure:
    @${ECHO_CMD} "#define HAVE_STRCHR 1" >> ${WRKSRC}/config.h

.include <bsd.port.mk>