aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/chbg/Makefile
blob: 92f6397effafe9b73edbefdd474c366a1ac0e215 (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
# Created by: Peter Jones <p@dancris.com>
# $FreeBSD$

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 # (or later)

LIB_DEPENDS=    libpng.so:${PORTSDIR}/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>