aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
blob: 4f3a5c314ab8d4c6a8b3ae922a750e740f9cbb47 (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
# New ports collection makefile for:    XFree86-VirtualFramebufferServer
# Date created:     10 Oct 1999
# Whom:         taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#

PORTNAME=   VirtualFramebufferServer
PORTVERSION=    4.2.0
PORTREVISION=   1
CATEGORIES= x11-servers
MASTER_SITES=   ${MASTER_SITE_XFREE:S/$/:x/} \
        ${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
            anholt/:local
PKGNAMEPREFIX=  XFree86-
DISTFILES=  X${PORTVERSION:S/.//g}src-1.tgz:x Wraphelp.gz:local
EXTRACT_ONLY=   X${PORTVERSION:S/.//g}src-1.tgz

MAINTAINER= anholt@freebsd.org

RUN_DEPENDS=    ${FONT}:${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps

FONT=   ${X11BASE}/lib/X11/fonts/misc/cursor.pcf.gz

XFREE86_VERSION=    4
USE_IMAKE=      YES
DIST_SUBDIR=        xc
WRKSRC=         ${WRKDIR}/xc
PATCHDIR=       ${.CURDIR}/../../x11/XFree86-4-libraries/files
ALL_TARGET=     FreeBSDPortsBuild
INSTALL_TARGET=     installXvfb installXserver.man
MAKE_ENV=       MAN_INSTALL_TARGET=installXvfb.man
MAN1=           Xserver.1 Xvfb.1

post-extract:
    ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp.gz > \
        ${WRKSRC}/lib/Xdmcp/Wraphelp.c

do-configure:
    cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
    @cd ${WRKSRC}; ${MAKE} FreeBSDPortsConfigure

.include <bsd.port.mk>