# New ports collection makefile for:    pidgin-osd
# Date created:                         17 Dec 2009
# Whom:                                 Vyacheslav Anikin <anikinsl@gmail.com>
#
# $FreeBSD: ports/net-im/pidgin-osd/Makefile,v 1.3 2010/03/28 06:41:41 dinoex Exp $

PORTNAME=	pidgin-osd
PORTVERSION=	0.1.0
PORTREVISION=	2
CATEGORIES=	net-im
MASTER_SITES=	https://babelize.org/download/pidgin-osd/

MAINTAINER=	anikinsl@gmail.com
COMMENT=	A pidgin plugin for displaying new messages on screen

BUILD_DEPENDS=	pidgin:${PORTSDIR}/net-im/pidgin \
		xosd>=2.2.12:${PORTSDIR}/misc/xosd
RUN_DEPENDS=	pidgin:${PORTSDIR}/net-im/pidgin \
		xosd>=2.2.12:${PORTSDIR}/misc/xosd

USE_GNOME=	pkgconfig glib20
USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

PLIST_FILES=	lib/pidgin/pidgin-osd.so \
		lib/pidgin/pidgin-osd.la
pre-configure:
	# Module really needs xosd version 2.2.12 or greater.
	${REINPLACE_CMD} -e 's,2\.2\.14,2.2.12,g' ${WRKSRC}/configure

.include <bsd.port.mk>
