summaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-input-joystick/Makefile
blob: 2a10d59c7e97a638f2cdbb4a4a90613e8aee36d5 (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
# $FreeBSD$

PORTNAME=   xf86-input-joystick
PORTVERSION=    ${JOYVER}
PORTREVISION=   ${JOYREVISION}
CATEGORIES= x11-drivers

MAINTAINER= x11@FreeBSD.org
COMMENT=    X.Org joystick input driver

XORG_CAT=   driver
MAN4=       joystick.4x

.include <bsd.port.options.mk>

.if defined(WITH_NEW_XORG)
JOYVER=     1.6.2
JOYREVISION=    0
.else
JOYVER=     1.5.0
JOYREVISION=    1
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>