aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/multi-backgrounds-daemon/Makefile
blob: 642af1eea824ba9eac41ea948b10663e7ce79161 (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
30
31
32
33
34
35
36
37
# New ports collection makefile for:    deskutils/multi-backgrounds-daemon
# Date created:             16 Jul 2003
# Whom:                 Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$

PORTNAME=   multi-backgrounds-daemon
PORTVERSION=    0.1.1
PORTREVISION=   6
CATEGORIES= deskutils gnome
MASTER_SITES=   http://jeanschu.free.fr/multi-backgrounds-daemon/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Change your GNOME2 backgound when you switch to other workspace

USE_X_PREFIX=   yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomehack gnomeprefix libgnomeui libwnck
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

DOCS=       AUTHORS COPYING ChangeLog INSTALL NEWS README

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ;' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>