summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-joystick/Makefile
blob: 81b59d03630d05092b48c2010d4d732984e5466a (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
# $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

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

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

.include <bsd.port.mk>