From 56d2b3484201a7a9cf486b02b9e548d8f56b1876 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Thu, 2 May 2013 14:46:08 +0000 Subject: Update to version 0.9.5 PR: ports/178294 Submitted by: Timothy Beyer (maintainer) --- emulators/joytran/Makefile | 20 +++++++++----------- emulators/joytran/distinfo | 4 ++-- emulators/joytran/files/patch-CMakeLists.txt | 22 ---------------------- emulators/joytran/pkg-plist | 3 ++- 4 files changed, 13 insertions(+), 36 deletions(-) delete mode 100644 emulators/joytran/files/patch-CMakeLists.txt (limited to 'emulators/joytran') diff --git a/emulators/joytran/Makefile b/emulators/joytran/Makefile index de9b46f11ea8..1d56f48160ba 100644 --- a/emulators/joytran/Makefile +++ b/emulators/joytran/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: joytran -# Date created: 30 Jul 2011 -# Whom: Timothy Beyer -# +# Created by: Timothy Beyer # $FreeBSD$ -# PORTNAME= joytran -PORTVERSION= 0.8.7 +PORTVERSION= 0.9.5 CATEGORIES= emulators MASTER_SITES= BERLIOS GOOGLE_CODE MASTER_SITE_SUBDIR= joytran @@ -17,19 +13,21 @@ 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 +USES= cmake pkgconfig CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}" +USE_XORG= x11 xtst + +.include -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=ON .else CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=OFF .endif -USE_SDL= sdl -USE_XORG= x11 xtst - .include diff --git a/emulators/joytran/distinfo b/emulators/joytran/distinfo index aa9bddfd53e0..e4f576c86a7f 100644 --- a/emulators/joytran/distinfo +++ b/emulators/joytran/distinfo @@ -1,2 +1,2 @@ -SHA256 (joytran-0.8.7.tar.bz2) = a1d8d0349c6145b7c50f3dd4814248801d0dfe827923ba702be03ce29caa42cc -SIZE (joytran-0.8.7.tar.bz2) = 42949 +SHA256 (joytran-0.9.5.tar.bz2) = a3b87978b606fecd495a56f137be11f372e7c82f63dcde2a817c48d056a22861 +SIZE (joytran-0.9.5.tar.bz2) = 46903 diff --git a/emulators/joytran/files/patch-CMakeLists.txt b/emulators/joytran/files/patch-CMakeLists.txt deleted file mode 100644 index 173615a1a295..000000000000 --- a/emulators/joytran/files/patch-CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ ---- 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) diff --git a/emulators/joytran/pkg-plist b/emulators/joytran/pkg-plist index 75cad56ab276..5f633ce235b4 100644 --- a/emulators/joytran/pkg-plist +++ b/emulators/joytran/pkg-plist @@ -12,7 +12,8 @@ bin/joytran %%DATADIR%%/profiles/default %%DATADIR%%/profiles/default-one_player %%PORTDOCS%%%%DOCSDIR%%/0203121918-diagram.jpg -%%PORTDOCS%%%%DOCSDIR%%/manual.htm +%%PORTDOCS%%%%DOCSDIR%%/manual.tex +%%PORTDOCS%%%%DOCSDIR%%/Makefile @dirrmtry %%DATADIR%%/profiles @dirrmtry %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3