summaryrefslogtreecommitdiffstats
path: root/devel/libgtop/Makefile
blob: 3ee6e3cf16154142e4d3e4f51b990583ce70294e (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom$

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
USE_GETTEXT=    yes
USE_GMAKE=  yes
USES=       pathfix
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>