From 2845732437b1c7d41295944b45d9083c52b8bee5 Mon Sep 17 00:00:00 2001 From: stas Date: Fri, 24 Nov 2006 22:13:33 +0000 Subject: - Allow to select frontend type via options - Respect X11BASE Reported by: kris --- sysutils/lavaps/Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'sysutils') diff --git a/sysutils/lavaps/Makefile b/sysutils/lavaps/Makefile index f6d474105e21..60f3f167d0d3 100644 --- a/sysutils/lavaps/Makefile +++ b/sysutils/lavaps/Makefile @@ -11,27 +11,32 @@ PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/ -MAINTAINER= ssedov@mbsd.msk.ru +MAINTAINER= stas@FreeBSD.org COMMENT= A lava lamp of currently running processes -WANT_GNOME= yes +GNU_CONFIGURE= yes USE_GNOME= gnometarget +CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= -x-includes="${X11BASE}/include" -x-libraries="${X11BASE}/lib" 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} \ +CPPFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER} \ -I${LOCALBASE}/include/tk${TCL_VER} \ -I${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib +CFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER} \ + -I${LOCALBASE}/include/tk${TCL_VER} \ + -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +OPTIONS= GTK "Build with GTK frontend instead of the default TK" off .include -.if ${HAVE_GNOME:Mgtk20}!="" +.if defined(WITH_GTK) PKGNAMESUFFIX= -gtk2 USE_GNOME+= gtk20 USE_GETTEXT= yes -- cgit