2016-07-09 15:10:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.53 2016/07/09 13:10:15 rillig Exp $
|
2002-12-18 21:09:16 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= waimea-0.4.0
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 30
|
2002-12-18 21:09:16 +01:00
|
|
|
CATEGORIES= wm
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=waimea/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:59:34 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/waimea/
|
2002-12-18 21:09:16 +01:00
|
|
|
COMMENT= Fast and highly customizable virtual window manager
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2006-05-11 21:28:52 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake perl:run pkg-config
|
2002-12-18 21:09:16 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2007-01-14 10:10:45 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
2002-12-18 21:09:16 +01:00
|
|
|
|
2007-01-14 10:10:45 +01:00
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2002-12-18 21:09:16 +01:00
|
|
|
|
2007-01-14 10:10:45 +01:00
|
|
|
.if ${X11_TYPE} != "native"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
. if !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
|
|
|
|
CONFIGURE_ARGS+= --disable-xinerama
|
|
|
|
. endif
|
|
|
|
. if !exists(${X11BASE}/include/X11/extensions/Xrender.h)
|
|
|
|
CONFIGURE_ARGS+= --disable-render
|
|
|
|
. endif
|
|
|
|
. if !exists(${X11BASE}/include/X11/extensions/shape.h)
|
2002-12-18 21:09:16 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-shape
|
2007-01-14 10:10:45 +01:00
|
|
|
. endif
|
2002-12-18 21:09:16 +01:00
|
|
|
.endif
|
|
|
|
|
2016-07-09 15:10:15 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-randr
|
2002-12-18 21:09:16 +01:00
|
|
|
|
2016-07-09 15:10:15 +02:00
|
|
|
REPLACE_PERL= \
|
2003-09-04 00:40:29 +02:00
|
|
|
data/scripts/filelist.pl \
|
|
|
|
data/scripts/procinfo.pl \
|
|
|
|
data/scripts/stylesdir.pl.in
|
|
|
|
|
2004-02-11 06:53:05 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/imlib2/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2002-12-18 21:09:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|