diff options
author | Tim Bishop <tdb@FreeBSD.org> | 2014-05-31 18:45:15 +0000 |
---|---|---|
committer | Tim Bishop <tdb@FreeBSD.org> | 2014-05-31 18:45:15 +0000 |
commit | 608c55702f76447984aa7ad1d1ad008d5364cf70 (patch) | |
tree | d44ea4443ef43bc88f6ef2e71cff1c596f3a268c /devel/libgamepad | |
parent | cc2d9a70feaeb0446f52cc2dda81b99b4fe3a0a8 (diff) | |
download | ports-608c55702f76447984aa7ad1d1ad008d5364cf70.tar.gz ports-608c55702f76447984aa7ad1d1ad008d5364cf70.zip |
Notes
Diffstat (limited to 'devel/libgamepad')
-rw-r--r-- | devel/libgamepad/Makefile | 22 | ||||
-rw-r--r-- | devel/libgamepad/distinfo | 4 | ||||
-rw-r--r-- | devel/libgamepad/files/extra-patch-gamepad_usbhid.c | 10 | ||||
-rw-r--r-- | devel/libgamepad/pkg-plist | 1 |
4 files changed, 13 insertions, 24 deletions
diff --git a/devel/libgamepad/Makefile b/devel/libgamepad/Makefile index 1e7e886a956f..bb575eece675 100644 --- a/devel/libgamepad/Makefile +++ b/devel/libgamepad/Makefile @@ -2,24 +2,22 @@ # $FreeBSD$ PORTNAME= libgamepad -PORTVERSION= 0.1.1 +PORTVERSION= 0.1.2 CATEGORIES= devel games -MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \ - http://jbacon.dyndns.org/~bacon/Ports/distfiles/ +MASTER_SITES= http://acadix.biz/Ports/distfiles/ \ + http://personalpages.tds.net/~jwbacon/Ports/distfiles/ MAINTAINER= jwbacon@tds.net COMMENT= Generic gamepad API -NO_STAGE= yes -pre-build: - (cd ${WRKSRC} && make depend) +LICENSE= BSD2CLAUSE -MAN3= libgamepad.3 +USES= tar:xz -.include <bsd.port.pre.mk> +pre-build: + (cd ${WRKSRC} && make depend) -.if ${OSVERSION} >= 800069 -EXTRA_PATCHES= ${FILESDIR}/extra-patch-gamepad_usbhid.c -.endif +MAKE_FLAGS+= PREFIX=${STAGEDIR}${PREFIX} \ + MANPREFIX=${STAGEDIR}${PREFIX} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/libgamepad/distinfo b/devel/libgamepad/distinfo index 3ec3675e4b2a..266481f919b5 100644 --- a/devel/libgamepad/distinfo +++ b/devel/libgamepad/distinfo @@ -1,2 +1,2 @@ -SHA256 (libgamepad-0.1.1.tar.gz) = dde386e1a3044673c49097f93418ed24b110766588d7c86a7278cef21932e5c6 -SIZE (libgamepad-0.1.1.tar.gz) = 8488 +SHA256 (libgamepad-0.1.2.tar.xz) = 23268d2aae99f21a0365695ba9fa9e52609b9d5469642912f7625d81a39438d6 +SIZE (libgamepad-0.1.2.tar.xz) = 7960 diff --git a/devel/libgamepad/files/extra-patch-gamepad_usbhid.c b/devel/libgamepad/files/extra-patch-gamepad_usbhid.c deleted file mode 100644 index 57de0a000c15..000000000000 --- a/devel/libgamepad/files/extra-patch-gamepad_usbhid.c +++ /dev/null @@ -1,10 +0,0 @@ ---- gamepad_usbhid.c.orig 2009-03-08 12:35:35.000000000 +0300 -+++ gamepad_usbhid.c 2009-03-08 12:35:44.000000000 +0300 -@@ -3,6 +3,7 @@ - #include <string.h> - #include <sys/ioctl.h> - #include <dev/usb/usb.h> -+#include <dev/usb/usb_ioctl.h> - #include <errno.h> - #include <fcntl.h> - #include <unistd.h> diff --git a/devel/libgamepad/pkg-plist b/devel/libgamepad/pkg-plist index 79bdef5a311b..e0364cd56d15 100644 --- a/devel/libgamepad/pkg-plist +++ b/devel/libgamepad/pkg-plist @@ -4,4 +4,5 @@ include/libgamepad/gamepad_analog.h include/libgamepad/gamepad_libhid.h include/libgamepad/gamepad_usbhid.h lib/libgamepad.a +man/man3/libgamepad.3.gz @dirrm include/libgamepad |