summaryrefslogtreecommitdiff
path: root/x11/xlockmore/Makefile
blob: 2133b3b1375a009074d6ead2e58b229a46aab72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.105 2013/01/26 21:39:21 adam Exp $

.include "Makefile.common"

PKGREVISION=	3

COMMENT=	Like the XLock session-locker/screensaver, but with more

CONFIGURE_ARGS+=	--with-opengl
CONFIGURE_ARGS+=	--with-mesa
CONFIGURE_ARGS+=	--without-ttf
XPM_ENV=	no_xpm= xpm_includes=${BUILDLINK_PREFIX.libXpm}/include xpm_libraries=${BUILDLINK_PREFIX.libXpm}/lib
CONFIGURE_ENV+=	ac_cv_path_xpm=${XPM_ENV:Q}
OPENGL_ENV=	no_opengl= ac_opengl_includes=${BUILDLINK_PREFIX.MesaLib}/include ac_opengl_libraries=${BUILDLINK_PREFIX.MesaLib}/lib
CONFIGURE_ENV+=	ac_cv_path_opengl=${OPENGL_ENV:Q}
MESA_ENV=	no_mesa= ac_mesa_includes=${BUILDLINK_PREFIX.MesaLib}/include ac_mesa_libraries=${BUILDLINK_PREFIX.MesaLib}/lib
CONFIGURE_ENV+=	ac_cv_path_mesa=${MESA_ENV:Q}
#BUILDLINK_TRANSFORM+=	l:MesaGL:GL
#BUILDLINK_TRANSFORM+=	l:MesaGLU:GLU
XEXT_ENV=	no_ext= ac_ext_includes=${BUILDLINK_PREFIX.xextproto}/include ac_ext_libraries=${BUILDLINK_PREFIX.libXext}/lib
CONFIGURE_ENV+=	ac_cv_path_ext=${XEXT_ENV:Q}

PLIST_SUBST+=	LITE=""

USE_TOOLS+=	pkg-config

.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"