summaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-input-joystick
diff options
context:
space:
mode:
authorkwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09>2012-03-17 22:52:50 +0800
committerkwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09>2012-03-17 22:52:50 +0800
commitb3b29bd4a7f6921a8c0961a48656183878b66d25 (patch)
tree60e368a9ad7e1b369664af6140bdd1ae94d2df4b /x11-drivers/xf86-input-joystick
parent60662f1d9cf4557f486ff170900381d1094c959f (diff)
downloadxorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.tar
xorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.tar.gz
xorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.tar.bz2
xorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.tar.lz
xorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.tar.xz
xorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.tar.zst
xorg-devel-ports-b3b29bd4a7f6921a8c0961a48656183878b66d25.zip
Use the joystick and hyperpen version that is currently in ports in the
!WITH_NEW_XORG case. git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@455 058c260c-8361-11dd-a0ac-aa2bafec7d09
Diffstat (limited to 'x11-drivers/xf86-input-joystick')
-rw-r--r--x11-drivers/xf86-input-joystick/Makefile11
-rw-r--r--x11-drivers/xf86-input-joystick/distinfo2
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-drivers/xf86-input-joystick/Makefile b/x11-drivers/xf86-input-joystick/Makefile
index 11e0d78..94f2872 100644
--- a/x11-drivers/xf86-input-joystick/Makefile
+++ b/x11-drivers/xf86-input-joystick/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= xf86-input-joystick
-PORTVERSION= 1.6.0
+PORTVERSION= ${JOYVER}
+PORTREVISION= ${JOYREVISION}
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
@@ -16,6 +17,14 @@ XORG_CAT= driver
USE_XORG= xextproto videoproto
MAN4= joystick.4x
+.if defined(WITH_NEW_XORG)
+JOYVER= 1.6.0
+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
diff --git a/x11-drivers/xf86-input-joystick/distinfo b/x11-drivers/xf86-input-joystick/distinfo
index 986f4b2..db447f9 100644
--- a/x11-drivers/xf86-input-joystick/distinfo
+++ b/x11-drivers/xf86-input-joystick/distinfo
@@ -1,2 +1,4 @@
+SHA256 (xorg/driver/xf86-input-joystick-1.5.0.tar.bz2) = 718118c5d769529f604c1ff099fe637173442cf01fc40bdef7d45f4baea282a9
+SIZE (xorg/driver/xf86-input-joystick-1.5.0.tar.bz2) = 283763
SHA256 (xorg/driver/xf86-input-joystick-1.6.0.tar.bz2) = 4f1c15ec7372dd340ec7e1a8ca19d75148896ee3883184c3663cbaa12cf738f1
SIZE (xorg/driver/xf86-input-joystick-1.6.0.tar.bz2) = 310552