|
Lines 4-15
Link Here
|
| 4 |
# |
4 |
# |
| 5 |
# $FreeBSD: ports/emulators/joytran/Makefile,v 1.3 2012/02/18 10:17:29 mva Exp $ |
5 |
# $FreeBSD: ports/emulators/joytran/Makefile,v 1.3 2012/02/18 10:17:29 mva Exp $ |
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= joytran |
8 |
PORTNAME= joytran |
| 9 |
PORTVERSION= 0.8.2 |
9 |
PORTVERSION= 0.8.7 |
| 10 |
PORTREVISION= 1 |
|
|
| 11 |
CATEGORIES= emulators |
10 |
CATEGORIES= emulators |
| 12 |
MASTER_SITES= BERLIOS GOOGLE_CODE |
11 |
MASTER_SITES= BERLIOS GOOGLE_CODE |
| 13 |
MASTER_SITE_SUBDIR= joytran |
12 |
MASTER_SITE_SUBDIR= joytran |
| 14 |
|
13 |
|
| 15 |
MAINTAINER= beyert@cs.ucr.edu |
14 |
MAINTAINER= beyert@cs.ucr.edu |
|
Lines 16-29
Link Here
|
| 16 |
COMMENT= Joystick to keyboard/mouse events translator written in C |
15 |
COMMENT= Joystick to keyboard/mouse events translator written in C |
| 17 |
|
16 |
|
| 18 |
LICENSE= MIT |
17 |
LICENSE= MIT |
| 19 |
LICENSE_FILE= ${WRKSRC}/COPYRIGHT |
18 |
LICENSE_FILE= ${WRKSRC}/COPYRIGHT |
| 20 |
|
19 |
|
|
|
20 |
# This is needed to fetch from BerliOS |
| 21 |
FETCH_ARGS= "-Fpr" |
| 21 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
| 22 |
USE_CMAKE= yes |
23 |
USE_CMAKE= yes |
| 23 |
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" |
24 |
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}" |
|
|
25 |
|
| 26 |
.if !defined(NOPORTDOCS) |
| 27 |
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=ON |
| 28 |
.else |
| 29 |
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=OFF |
| 30 |
.endif |
| 31 |
|
| 24 |
USE_SDL= sdl |
32 |
USE_SDL= sdl |
| 25 |
USE_XORG= x11 xtst |
33 |
USE_XORG= x11 xtst |
| 26 |
|
34 |
|
| 27 |
PLIST_FILES= bin/joytran |
35 |
.include <bsd.port.pre.mk> |
|
|
36 |
|
| 37 |
.if ${OSVERSION} < 900000 |
| 38 |
CC= clang |
| 39 |
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang |
| 40 |
.endif |
| 28 |
|
41 |
|
| 29 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.post.mk> |