summaryrefslogtreecommitdiffstats
path: root/devel/libgtop/Makefile
blob: a713115027e0bb7f6deebeac22556605f9925255 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/trunk/devel/libgtop/Makefile 18610 2013-06-30 16:33:05Z marcus $

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 gmake pathfix pkgconfig
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>