summaryrefslogtreecommitdiff
path: root/devel/libnotify/Makefile
blob: fd51065209f66c9711b61f2828192a5110387642 (plain)
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
35
36
37
38
# New ports collection makefile for:	libnotify
# Date created:				2005-08-06
# Whom:					Andreas Kohn <andreas@syndrom23.de>
#
# $FreeBSD$
#

PORTNAME=	libnotify
PORTVERSION=	0.2.2
PORTREVISION=	1
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.1:${PORTSDIR}/devel/dbus \
		popt.0:${PORTSDIR}/devel/popt

USE_GNOME=	gnomehack gnometarget intlhack glib20
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
INSTALLS_SHLIB=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000

USE_REINPLACE=	yes

post-patch:
	${REINPLACE_CMD} -e 's|tests||' ${WRKSRC}/Makefile.in

.endif

.include <bsd.port.post.mk>