summaryrefslogtreecommitdiffstats
path: root/sysutils/lavaps/Makefile
blob: f3754ff2d0b2600075b864ca5f1088e12aafde3a (plain)
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
47
48
49
# New ports collection makefile for:	lavaps
# Date created:		11-Oct-99
# Whom:			johnh@isi.edu
#
# $FreeBSD$
#

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

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

GNU_CONFIGURE=	yes
WANT_GNOME=	yes
USE_PERL5_BUILD=	yes
USE_XORG=	x11 xext sm ice

MAN1=		lavaps.1

OPTIONS_DEFINE=	GTK
GTK_DESC=	Build with GTK frontend instead of the default TK

CPPFLAGS+=	-I${LOCALBASE}/include
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGTK}
PKGNAMESUFFIX=	-gtk2
USE_GNOME+=	gtk20 libgnomeui
USE_GETTEXT=	yes
CONFIGURE_ARGS+=	--with-gtk
PLIST_SUB+=	NLS=""
.else
USE_TK=		84+
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
CPPFLAGS+=	-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}
CFLAGS+=	-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}
CONFIGURE_ARGS+=	--with-tcltk --disable-nls \
			--with-tcl-ver=${TCL_VER} --with-tk-ver=${TCL_VER}
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud