Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2012 04:17:49 -0700
From:      Timothy Beyer <beyert@cs.ucr.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Timothy Beyer <beyert@cs.ucr.edu>
Subject:   ports/166487: update port: emulators/joytran to version 0.8.7
Message-ID:  <87hax77j1e.wl@fastmail.fm>
Resent-Message-ID: <201203291120.q2TBK7jx060812@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166487
>Category:       ports
>Synopsis:       update port: emulators/joytran to version 0.8.7
>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 Mar 29 11:20:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Timothy Beyer
>Release:        FreeBSD 9.0-RELEASE i386
>Organization:
no organization
>Environment:
System: FreeBSD aeonserv.aeonnet 9.0-RELEASE FreeBSD 9.0-RELEASE #9: Fri Mar 9 00:02:30 PST 2012 root@aeonserv.aeonnet:/usr/obj/usr/src/sys/CUSTOM i386
 
>Description:

- Updates to version 0.8.7.

- Build with clang

- Install Profiles system-wide (defaults to local profiles if available)

- Install Optional Documentation system-wide (depends on NOPORTDOCS)

- Only include header files

- Fix fetch with BerliOS

- Appropriate credits given to hosts in documentation

(I am the author of the program and maintainer of the port.)

>How-To-Repeat:
apply the patch and build

>Fix:
    The included shar, and all prerequisite shar files

--- joytran.diff begins here ---
Index: emulators/joytran/Makefile
==================================================================
--- emulators/joytran/Makefile
+++ emulators/joytran/Makefile
@@ -4,12 +4,11 @@
 #
 # $FreeBSD: ports/emulators/joytran/Makefile,v 1.3 2012/02/18 10:17:29 mva Exp $
 #
 
 PORTNAME=	joytran
-PORTVERSION=	0.8.2
-PORTREVISION=	1
+PORTVERSION=	0.8.7
 CATEGORIES=	emulators
 MASTER_SITES=	BERLIOS GOOGLE_CODE
 MASTER_SITE_SUBDIR=	joytran
 
 MAINTAINER=	beyert@cs.ucr.edu
@@ -16,14 +15,28 @@
 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.pre.mk>
+
+.if ${OSVERSION} < 900000
+CC=	clang
+BUILD_DEPENDS+=	${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang
+.endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Index: emulators/joytran/distinfo
==================================================================
--- emulators/joytran/distinfo
+++ emulators/joytran/distinfo
@@ -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

Index: emulators/joytran/pkg-plist
==================================================================
--- emulators/joytran/pkg-plist
+++ emulators/joytran/pkg-plist
@@ -0,0 +1,18 @@
+bin/joytran
+share/joytran/profiles/Ever_17
+share/joytran/profiles/Ever_17-reverse
+share/joytran/profiles/GundeadliGne
+share/joytran/profiles/Gundemonium_Recollection
+share/joytran/profiles/Last_Remnant
+share/joytran/profiles/Mass_Effect
+share/joytran/profiles/Perfect_Cherry_Blossom
+share/joytran/profiles/Scarlet_Meister
+share/joytran/profiles/Steins_Gate
+share/joytran/profiles/Trouble_Witches
+share/joytran/profiles/default
+share/joytran/profiles/default-one_player
+%%PORTDOCS%%%%DOCSDIR%%/0203121918-diagram.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual.htm
+@dirrmtry share/joytran/profiles
+@dirrmtry share/joytran
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- joytran.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87hax77j1e.wl>