svn commit: r518492 - in head/sysutils/jstest-gtk: . files
Tobias Kortkamp
tobik at FreeBSD.org
Wed Nov 27 10:33:35 UTC 2019
Author: tobik
Date: Wed Nov 27 10:33:34 2019
New Revision: 518492
URL: https://svnweb.freebsd.org/changeset/ports/518492
Log:
sysutils/jstest-gtk: Remove bundled evdev headers and use evdev-proto instead
- While here add missing dependency on libX11
PR: 241351
Submitted by: rozhuk.im at gmail.com (maintainer)
Deleted:
head/sysutils/jstest-gtk/files/
Modified:
head/sysutils/jstest-gtk/Makefile
Modified: head/sysutils/jstest-gtk/Makefile
==============================================================================
--- head/sysutils/jstest-gtk/Makefile Wed Nov 27 10:19:30 2019 (r518491)
+++ head/sysutils/jstest-gtk/Makefile Wed Nov 27 10:33:34 2019 (r518492)
@@ -2,7 +2,7 @@
PORTNAME= jstest-gtk
PORTVERSION= 20180710
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= rozhuk.im at gmail.com
@@ -11,27 +11,17 @@ COMMENT= Simple joystick tester based on Gtk+
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto
+
USES= cmake compiler:c++11-lang gnome libtool localbase:ldflags \
- pkgconfig
+ pkgconfig xorg
USE_GNOME= gtkmm30 libsigc++20
-
INSTALLS_ICONS= yes
+USE_XORG= x11
# gitlab variables
USE_GITLAB= yes
GL_ACCOUNT= jstest-gtk
GL_COMMIT= 62f6e2d7d44620e503149510c428df9e004c9f3b
-
-post-extract:
- @${MKDIR} ${WRKSRC}/src/linux/
- @${CP} -f ${FILESDIR}/input.h ${WRKSRC}/src/linux/
- @${CP} -f ${FILESDIR}/input-event-codes.h ${WRKSRC}/src/linux/
- @${CP} -f ${FILESDIR}/joystick.h ${WRKSRC}/src/linux/
- @${CP} -f ${FILESDIR}/types.h ${WRKSRC}/src/linux/
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|include_directories(SYSTEM|include_directories("$${CMAKE_CURRENT_SOURCE_DIR}/src" SYSTEM|g' \
- ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list