1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 0.8.7

Appropriate credits given to hosts in documentation
- Install Profiles system-wide (defaults to local profiles if available)
- Install Optional Documentation system-wide (depends on NOPORTDOCS)
- Fix fetch with BerliOS

PR:	ports/166487
Submitted by:	Timothy Beyer <beyert@cs.ucr.edu> (maintainer)
Approved by:	eadler (mentor)
Feature safe:	yes
This commit is contained in:
Alex Kozlov 2012-03-30 17:48:02 +00:00
parent 04d1af513e
commit f9dfea7ca6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294000
4 changed files with 53 additions and 7 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= joytran
PORTVERSION= 0.8.2
PORTREVISION= 1
PORTVERSION= 0.8.7
CATEGORIES= emulators
MASTER_SITES= BERLIOS GOOGLE_CODE
MASTER_SITE_SUBDIR= joytran
@ -18,12 +17,19 @@ COMMENT= Joystick to keyboard/mouse events translator written in C
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
# This is needed to fetch from BerliOS
FETCH_ARGS= "-Fpr"
USE_BZIP2= yes
USE_CMAKE= yes
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}"
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}"
.if !defined(NOPORTDOCS)
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=ON
.else
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=OFF
.endif
USE_SDL= sdl
USE_XORG= x11 xtst
PLIST_FILES= bin/joytran
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (joytran-0.8.2.tar.bz2) = ab0dd4950307434a9fd0dc273c610c4aa316a5b739f3759c08bfe16e85e3e131
SIZE (joytran-0.8.2.tar.bz2) = 40351
SHA256 (joytran-0.8.7.tar.bz2) = a1d8d0349c6145b7c50f3dd4814248801d0dfe827923ba702be03ce29caa42cc
SIZE (joytran-0.8.7.tar.bz2) = 42949

View File

@ -0,0 +1,22 @@
--- CMakeLists.txt.orig 2012-03-29 01:34:41.000000000 -0700
+++ CMakeLists.txt 2012-03-29 13:24:33.000000000 -0700
@@ -2,7 +2,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
## On means use clang, off means use gcc
-OPTION(USE_CLANG "build with clang" ON) # On is the default
OPTION(INSTALL_DOCUMENTATION "install documentation" ON) # On is the default
## Files that will be included in the build-release target
@@ -151,11 +150,6 @@
MESSAGE(WARNING "If you want to build the X11 plugin, please install X11.")
ENDIF(X11_X11_INCLUDE_PATH)
-IF(USE_CLANG)
- MESSAGE(STATUS "Using clang as a compiler")
- SET(CMAKE_C_COMPILER "clang")
-ENDIF(USE_CLANG)
-
## add include directories build project in src
INCLUDE_DIRECTORIES(${CMAKE_INCLUDE_PATH} src)
ADD_SUBDIRECTORY(src)

View File

@ -0,0 +1,18 @@
bin/joytran
%%DATADIR%%/profiles/Ever_17
%%DATADIR%%/profiles/Ever_17-reverse
%%DATADIR%%/profiles/GundeadliGne
%%DATADIR%%/profiles/Gundemonium_Recollection
%%DATADIR%%/profiles/Last_Remnant
%%DATADIR%%/profiles/Mass_Effect
%%DATADIR%%/profiles/Perfect_Cherry_Blossom
%%DATADIR%%/profiles/Scarlet_Meister
%%DATADIR%%/profiles/Steins_Gate
%%DATADIR%%/profiles/Trouble_Witches
%%DATADIR%%/profiles/default
%%DATADIR%%/profiles/default-one_player
%%PORTDOCS%%%%DOCSDIR%%/0203121918-diagram.jpg
%%PORTDOCS%%%%DOCSDIR%%/manual.htm
@dirrmtry %%DATADIR%%/profiles
@dirrmtry %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%