aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libnotify/Makefile
blob: 79e24be3a9b79c1c3f221c3bf32abce73f68d8ed (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:    libnotify
# Date created:             2005-08-06
# Whom:                 Andreas Kohn <andreas@syndrom23.de>
#
# $FreeBSD$
#

PORTNAME=   libnotify
PORTVERSION=    0.4.2
CATEGORIES= devel gnome
MASTER_SITES=   http://www.galago-project.org/files/releases/source/libnotify/

MAINTAINER= andreas@syndrom23.de
COMMENT=    A library for desktop notifications

LIB_DEPENDS=    dbus-1.2:${PORTSDIR}/devel/dbus \
        popt.0:${PORTSDIR}/devel/popt

USE_GNOME=  gnomehack gnometarget intlhack glib20 gtk20
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-gtk-doc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

post-patch:
.if ${OSVERSION} < 500000
    @${REINPLACE_CMD} -e 's|tests||' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>