freebsd-ports/emulators/joytran/Makefile
Pawel Pekala 56d2b34842 Update to version 0.9.5
PR:		ports/178294
Submitted by:	Timothy Beyer <beyert@cs.ucr.edu> (maintainer)
2013-05-02 14:46:08 +00:00

33 lines
734 B
Makefile

# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= joytran
PORTVERSION= 0.9.5
CATEGORIES= emulators
MASTER_SITES= BERLIOS GOOGLE_CODE
MASTER_SITE_SUBDIR= joytran
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Joystick to keyboard/mouse events translator written in C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= SDL2:${PORTSDIR}/devel/sdl20
# This is needed to fetch from BerliOS
FETCH_ARGS= "-Fpr"
USE_BZIP2= yes
USES= cmake pkgconfig
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}"
USE_XORG= x11 xtst
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=ON
.else
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=OFF
.endif
.include <bsd.port.mk>