blob: b9dd93d9bcd127c5f8bf43639efd35c123c6e5a1 (
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
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.147 2012/10/02 15:10:10 kwm Exp $
PORTNAME= gnome-system-monitor
PORTVERSION= 2.28.2
PORTREVISION= 2
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 system monitor program
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \
gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
CONFLICTS= gnome-system-monitor-3.[0-9]*
USE_BZIP2= yes
USES= gettext gmake pkgconfig
INSTALLS_OMF= yes
USE_GNOME= gnomeprefix intlhack gnomehack libwnck gnomevfs2 gnomedocutils \
librsvg2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lutil
GCONF_SCHEMAS= gnome-system-monitor.schemas
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|<glib/gtypes.h>|<glib.h>|g' \
-e 's|<glib/gmacros.h>|<glib.h>|g' \
-e 's|<glib/gstring.h>|<glib.h>|g' \
${WRKSRC}/src/*.[ch] ${WRKSRC}/src/*.cpp
.include <bsd.port.mk>
|