freebsd-ports/sysutils/lavaps/Makefile
Pav Lucistnik c4bc6925fb - Fix dependencies after recent Tk changes
PR:		ports/115049
Submitted by:	mm
2007-07-31 07:52:46 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: lavaps
# Date created: 11-Oct-99
# Whom: johnh@isi.edu
#
# $FreeBSD$
#
PORTNAME= lavaps
PORTVERSION= 2.7
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/
MAINTAINER= stas@FreeBSD.org
COMMENT= A lava lamp of currently running processes
GNU_CONFIGURE= yes
USE_GNOME= gnometarget
USE_PERL5_BUILD= yes
USE_XORG= x11 xext sm ice
MAN1= lavaps.1
OPTIONS= GTK "Build with GTK frontend instead of the default TK" off
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+= -x-includes="${X11BASE}/include" \
-x-libraries="${X11BASE}/lib"
.if defined(WITH_GTK)
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
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.post.mk>