summaryrefslogtreecommitdiffstats
path: root/devel/libgtop/Makefile
blob: baad2850b1b23f85ca03ba28c7a2f9af15c78f9a (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/devel/libgtop/Makefile 17279 2013-04-06 09:33:19Z kwm $

PORTNAME=   libgtop
PORTVERSION=    2.28.4
CATEGORIES= devel gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME 2 top library

USE_XZ=     yes
USE_PERL5_BUILD=yes
USE_XORG=   xau
USES=       gettext pathfix pkgconfig
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix glib20 ltverhack intlhack
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool
CPPFLAGS+=  -I${LOCALBASE}/include -DHAVE_NET_IF_VAR_H
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-introspection

INFO=       libgtop2

PKGMESSAGE= ${FILESDIR}/pkg-message

post-configure:
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f

post-install:
    @${CHGRP} kmem ${PREFIX}/bin/libgtop_server2
    @${CHMOD} 2555 ${PREFIX}/bin/libgtop_server2
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>