aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gdesklets/Makefile
blob: e45cf927c82d56a806a89d7cd1a0b71c0fb33ca8 (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
38
39
# New ports collection makefile for:    gdesklets
# Date created:             11 August 2003
# Whom:                 Mezz <mezz7@cox.net>
#
# $FreeBSD$
#

PORTNAME=   gdesklets
PORTVERSION=    0.34.2
PORTREVISION=   1
CATEGORIES= deskutils gnome
MASTER_SITES=   http://www.pycage.de/download/${PORTNAME}/
DISTNAME=   gDesklets-${PORTVERSION}

MAINTAINER= klammer@webonaut.com
COMMENT=    A framework for Gnome 2.x for desktop applets

LIB_DEPENDS=    gtop-2.0.2:${PORTSDIR}/devel/libgtop2

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=    15
USE_PYTHON= yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gnometarget intlhack librsvg2 pygnomeextras

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"

GCONF_SCHEMAS=  gdesklets-display-thumbnail.schemas
MAN1=       gdesklets.1

post-install:
    @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays
    @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/lib/gdesklets
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>