ports/178294: update port: emulators/joytran
Timothy Beyer
beyert at cs.ucr.edu
Thu May 2 08:40:01 UTC 2013
>Number: 178294
>Category: ports
>Synopsis: update port: emulators/joytran
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu May 02 08:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Timothy Beyer
>Release: FreeBSD 9.1-RELEASE-p1 i386
>Organization:
no organization
>Environment:
System: FreeBSD aeonserv.aeonnet 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 #0: Sat Mar 2 15:48:23 PST 2013 root at aeonserv.aeonnet:/usr/obj/usr/src/sys/CUSTOM-9.1 i386
>Description:
- Update to version 0.9.5
>How-To-Repeat:
Apply patch and build port
>Fix:
The included patch
--- joytran.diff begins here ---
diff -urN joytran.orig/Makefile joytran/Makefile
--- joytran.orig/Makefile 2013-03-22 13:06:14.000000000 -0700
+++ joytran/Makefile 2013-05-02 00:58:33.000000000 -0700
@@ -6,7 +6,7 @@
#
PORTNAME= joytran
-PORTVERSION= 0.8.7
+PORTVERSION= 0.9.5
CATEGORIES= emulators
MASTER_SITES= BERLIOS GOOGLE_CODE
MASTER_SITE_SUBDIR= joytran
@@ -17,10 +17,12 @@
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}"
.if !defined(NOPORTDOCS)
@@ -29,7 +31,6 @@
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION:BOOL=OFF
.endif
-USE_SDL= sdl
USE_XORG= x11 xtst
.include <bsd.port.mk>
diff -urN joytran.orig/distinfo joytran/distinfo
--- joytran.orig/distinfo 2012-07-14 06:54:48.000000000 -0700
+++ joytran/distinfo 2013-05-02 00:30:55.000000000 -0700
@@ -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 -urN joytran.orig/files/patch-CMakeLists.txt joytran/files/patch-CMakeLists.txt
--- joytran.orig/files/patch-CMakeLists.txt 2012-07-14 06:54:48.000000000 -0700
+++ joytran/files/patch-CMakeLists.txt 1969-12-31 16:00:00.000000000 -0800
@@ -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 -urN joytran.orig/pkg-plist joytran/pkg-plist
--- joytran.orig/pkg-plist 2012-07-14 06:54:48.000000000 -0700
+++ joytran/pkg-plist 2013-05-02 01:13:17.000000000 -0700
@@ -12,7 +12,8 @@
%%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%%
--- joytran.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list