aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lavaps/Makefile
blob: c5527a3d71755681f8b70c1248095f714e46f49d (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
43
44
45
46
# New ports collection makefile for:    lavaps
# Date created:     11-Oct-99
# Whom:         johnh@isi.edu
#
# $FreeBSD$
#

PORTNAME=   lavaps
PORTVERSION=    2.7
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A lava lamp of currently running processes

WANT_GNOME= yes
USE_GNOME=  gnometarget
USE_PERL5_BUILD=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=       lavaps.1
 
TCL_VER?=   8.4

CPPFLAGS=   -I${LOCALBASE}/include/tcl${TCL_VER} \
        -I${LOCALBASE}/include/tk${TCL_VER} \
        -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mgtk20}!=""
PKGNAMESUFFIX=  -gtk2
USE_GNOME+= gtk20
CONFIGURE_ARGS+=    --with-gtk
PLIST_SUB+= NLS=""
.else
LIB_DEPENDS+=   tk${TCL_VER:S/.//}:${PORTSDIR}/x11-toolkits/tk${TCL_VER:S/.//}
CONFIGURE_ARGS+=    --with-tcltk --disable-nls \
            --with-tcl-ver=${TCL_VER} --with-tk-ver=${TCL_VER}
PLIST_SUB+= NLS="@comment "
.endif

.include <bsd.port.post.mk>