aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/x2x/Makefile
blob: b66004b9d635c128db348ab1f6e582db72680072 (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
# Created by: grog
# $FreeBSD$

PORTNAME=   x2x
PORTVERSION=    1.27
PORTREVISION=   3
CATEGORIES= x11-servers
MASTER_SITES=   GHC

MAINTAINER= ports@FreeBSD.org
COMMENT=    Program to link multiple X servers together

LICENSE=    MIT

USE_GITHUB= yes
GH_ACCOUNT= dottedmag

WRKSRC=     ${WRKDIR}/${DISTNAME}

USES=       imake
USE_XORG=   x11 xext xtst

PLIST_FILES=    bin/x2x man/man1/x2x.1.gz

post-extract:
    @${LN} -sf x2x.1 ${WRKSRC}/x2x.man

post-patch:
    @${REINPLACE_CMD} -e \
        '/CC =/s|^|XCOMM| ; \
         /CDEBUGFLAGS =/s|^|XCOMM|' ${WRKSRC}/Imakefile

.include <bsd.port.mk>