summaryrefslogtreecommitdiff
path: root/x11/antimicro/Makefile
blob: 5fbb8292e79601f9a8ab49236ed516b5a76f9a1c (plain)
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
# Created by: Anton Toernqvist <antont@inbox.lv>
# $FreeBSD$

PORTNAME=	antimicro
PORTVERSION=	2.23
PORTREVISION=	1
CATEGORIES=	x11

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Program for mapping keyboard and mouse to a gamepad

LICENSE=	GPLv3

USE_GITHUB=	yes
GH_ACCOUNT=	antimicro #Ryochan7

# Upstream assumes ${LOCALBASE}/lib is part of the default linker path. Pull
# request 268 fixes it for X11 libraries, but SDL2 is still using pkg-config
# output (without full paths).
LDFLAGS+=	-L${LOCALBASE}/lib

USE_XORG=	x11 xi xtst
USE_QT=		core gui linguisttools_build qmake_build buildtools_build widgets network
USE_SDL=	sdl2
USES=		cmake pkgconfig desktop-file-utils qt:5 shared-mime-info

.include <bsd.port.mk>