aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bubblemon/Makefile
blob: 756559e11d5c79f70824d3417dd2af5b737c9bd8 (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
40
41
42
# New ports collection makefile for:    bubblemon
# Date created:             4 Jul 2003
# Whom:                 Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$
#

PORTNAME=   bubblemon
PORTVERSION=    1.2.10
CATEGORIES= sysutils gnome
MASTER_SITES=   http://www.student.nada.kth.se/~d92-jwa/code/bubblemon/ \
        http://www.student.nada.kth.se/~d92-jwa/code/bubblemon/attic/ \
        http://savannah.nongnu.org/download/bubblemon/

MAINTAINER= rael@vectorstar.net
COMMENT=    Bubblemon is a system CPU and memory load monitor for the GNOME panel

LIB_DEPENDS=    gtop.1:${PORTSDIR}/devel/libgtop

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
USE_GNOME=  gnomeprefix gnomehack libpanel
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

MAN1=   bubblemon-gnome1.1
MANLANG=    "" hu sv

DOCS=   AUTHORS COPYING ChangeLog FAQ PROFILING TRANSLATIONS NEWS README TODO

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

.include <bsd.port.mk>