2000-04-09 21:09:11 +02:00
|
|
|
# New ports collection makefile for: lavaps
|
|
|
|
# Date created: 11-Oct-99
|
|
|
|
# Whom: johnh@isi.edu
|
1999-10-21 07:36:34 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= lavaps
|
2005-02-08 19:18:12 +01:00
|
|
|
PORTVERSION= 2.7
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 3
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/
|
1999-10-21 07:36:34 +02:00
|
|
|
|
2006-11-24 23:13:33 +01:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A lava lamp of currently running processes
|
1999-10-21 07:36:34 +02:00
|
|
|
|
2006-11-24 23:13:33 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-02-08 19:18:12 +01:00
|
|
|
USE_GNOME= gnometarget
|
2006-11-24 23:13:33 +01:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
CONFIGURE_ARGS= -x-includes="${X11BASE}/include" -x-libraries="${X11BASE}/lib"
|
2005-02-08 19:18:12 +01:00
|
|
|
USE_PERL5_BUILD= yes
|
1999-10-21 07:36:34 +02:00
|
|
|
|
2005-02-08 19:18:12 +01:00
|
|
|
MAN1= lavaps.1
|
2006-07-29 22:44:14 +02:00
|
|
|
|
2004-11-20 15:52:32 +01:00
|
|
|
TCL_VER?= 8.4
|
2001-01-19 23:16:40 +01:00
|
|
|
|
2006-11-24 23:13:33 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/tcl${TCL_VER} \
|
2005-02-08 19:18:12 +01:00
|
|
|
-I${LOCALBASE}/include/tk${TCL_VER} \
|
|
|
|
-I${LOCALBASE}/include
|
2006-11-24 23:13:33 +01:00
|
|
|
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
|
2004-11-20 15:52:32 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-11-24 23:13:33 +01:00
|
|
|
.if defined(WITH_GTK)
|
2005-02-08 19:18:12 +01:00
|
|
|
PKGNAMESUFFIX= -gtk2
|
2007-04-29 16:33:45 +02:00
|
|
|
USE_GNOME+= gtk20 libgnomeui
|
2006-07-29 22:44:14 +02:00
|
|
|
USE_GETTEXT= yes
|
2005-02-08 19:18:12 +01:00
|
|
|
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
|
1999-10-21 07:36:34 +02:00
|
|
|
|
2001-01-20 00:56:11 +01:00
|
|
|
.include <bsd.port.post.mk>
|