aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xephyr/Makefile
blob: 6a3feab859cf8f4d8c7bef4fe7a8c36023d6f649 (plain) (blame)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    xephyr
# Date created:             2008-05-18
# Whom:                 Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#

PORTNAME=   xephyr
PORTVERSION=    1.5.3
PORTREVISION=   1
CATEGORIES= x11-servers

MAINTAINER= x11@FreeBSD.org
COMMENT=    A kdrive based X server from X.Org

XORG_CAT=   xserver

LIB_DEPENDS=    drm:${PORTSDIR}/graphics/libdrm

USE_GL=     gl
USE_XORG=   x11 xf86driproto glproto randrproto renderproto fixesproto \
        dri2proto damageproto xcmiscproto xtrans inputproto \
        xf86bigfontproto scrnsaverproto bigreqsproto \
        resourceproto fontsproto videoproto \
        compositeproto trapproto recordproto \
        xineramaproto evieproto xkbfile xfont \
        xau xdmcp xext fontenc xv pixman

CONFIGURE_ARGS= --enable-kdrive --enable-xephyr --disable-dmx --disable-xvfb \
        --disable-xorg --disable-xnest --disable-xprint \
        --localstatedir=/var --without-dtrace

PLIST_FILES=    bin/Xephyr

OPTIONS=    HAL "Compile with HAL config support" on

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_HAL)
LIB_DEPENDS+=   hal.1:${PORTSDIR}/sysutils/hal
CONFIGURE_ARGS+=    --enable-config-hal=yes
.else
CONFIGURE_ARGS+=    --enable-config-hal=no
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/hw/kdrive/ephyr/Xephyr ${PREFIX}/bin/

.include <bsd.port.post.mk>