mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Allow to select frontend type via options
- Respect X11BASE Reported by: kris
This commit is contained in:
parent
411a036b94
commit
32f9be060c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177986
@ -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
|
||||
USE_GNOME= gnometarget
|
||||
USE_PERL5_BUILD= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
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
|
||||
|
||||
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 <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk20}!=""
|
||||
.if defined(WITH_GTK)
|
||||
PKGNAMESUFFIX= -gtk2
|
||||
USE_GNOME+= gtk20
|
||||
USE_GETTEXT= yes
|
||||
|
Loading…
Reference in New Issue
Block a user