# Created by: Peter Jones <p@dancris.com>
# $FreeBSD: head/graphics/chbg/Makefile 412346 2016-04-01 14:00:51Z mat $

PORTNAME=	chbg
PORTVERSION=	1.5
PORTREVISION=	16
CATEGORIES=	graphics gnome
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Change Background Picture with time period

LICENSE=	GPLv2+

LIB_DEPENDS=	libpng.so:graphics/png

USES=		gmake gettext pathfix tar:tgz
USE_GNOME=	gdkpixbuf
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-gnome

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

post-patch:
	@${REINPLACE_CMD} -e \
		's|^guint argc|gint argc|' ${WRKSRC}/src/chbg.c

.include <bsd.port.mk>
