aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xorg-fontserver/Makefile
blob: 33278628f7142b0baf7b5959bcf4358aef43974c (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:    xorg-fontserver
# Date created:     10 June 2004
# Whom:         anholt@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   xorg-fontserver
PORTVERSION=    6.8.2
CATEGORIES= x11-servers
MASTER_SITES=   ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src
DISTFILES=  X11R${PORTVERSION}-src1.tar.gz \
        X11R${PORTVERSION}-src2.tar.gz

MAINTAINER= x11@FreeBSD.org
COMMENT=    X font server from X.Org

CONFLICTS=  XFree86-FontServer-*

EXTRA_PATCHES=  ${CF_PATCHES}

USE_XLIB=   yes
USE_RC_SUBR=    yes

MAN1=       xfs.1

XBUILD_DIRS=    programs/xfs
XINCLUDE_DIRS=  lib/xtrans
XMAN_DIRS=  programs/xfs

post-build:
    @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
        -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
        ${FILESDIR}/xfs.sh >${WRKDIR}/xfs.sh

post-install:
    @${INSTALL_SCRIPT} ${WRKDIR}/xfs.sh ${PREFIX}/etc/rc.d
    ${INSTALL_SCRIPT} ${WRKSRC}/programs/xfs/config \
        ${PREFIX}/lib/X11/fs/config.default

.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xorg
IGNORE= is part of X.Org and you have ${X_WINDOW_SYSTEM} set for X11\
    distribution. See The X Window System and Virtual Consoles chapter\
    of FAQ for more information
.endif
.include <bsd.port.post.mk>