aboutsummaryrefslogtreecommitdiff
path: root/emulators/joytran/Makefile
blob: 6707cc7a7326e7b939b4e7c9fdaf1d7fda9a5457 (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
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$

PORTNAME=	joytran
PORTVERSION=	0.9.5.2
PORTREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	http://sourceforge.net/projects/${PORTNAME}/files/

MAINTAINER=	beyert@cs.ucr.edu
COMMENT=	Joystick to keyboard/mouse events translator written in C

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

USE_SDL=	sdl2
USES=		tar:bzip2 cmake pkgconfig
CMAKE_ARGS=	-DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}"
USE_XORG=	x11 xtst

OPTIONS_DEFINE=	DOCS

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>