# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD: misc/gnome-osd/Makefile 327745 2013-09-20 20:50:57Z bapt $

PORTNAME=	gnome-osd
PORTVERSION=	0.20.0
PORTREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://launchpadlibrarian.net/63944370/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	On-Screen-Display infrastructure using Pango text rendering

USES=        pathfix gmake pkgconfig
USE_GNOME=	gnomeprefix intlhack pygnome2
USE_PYTHON=	yes
GNU_CONFIGURE=	yes

GCONF_SCHEMAS=	gnome-osd.schemas

MAN1=		gnome-osd-client.1

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
