1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Fix dfbinimage2 CD handling (program identification)

- Swap LICENSE and *DEPENDS to make portlint happy
This commit is contained in:
Ganael LAPLANCHE 2011-11-03 13:32:58 +00:00
parent b7d6b008a2
commit b9b0e0b58c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284978
3 changed files with 26 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= pcsxr
PORTVERSION= 1.9.92.r68256
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
@ -18,12 +18,12 @@ EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= martymac@FreeBSD.org
COMMENT= Playstation (PSX) emulator
LICENSE= GPLv2
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \
cdio.12:${PORTSDIR}/sysutils/libcdio
LICENSE= GPLv2
ONLY_FOR_ARCHS= i386 amd64
USE_BZIP2= yes

View File

@ -0,0 +1,12 @@
--- plugins/dfbinimage2/CDInterface.hpp.orig 2011-07-20 07:24:23.758738346 +0200
+++ plugins/dfbinimage2/CDInterface.hpp 2011-07-20 07:26:37.053050612 +0200
@@ -46,7 +46,8 @@
// track info. fyi, tester is my testing/development program.
std::string programName = getProgramName();
if ( programName == "epsxe" || programName == "pcsx" ||
- programName == "pcsx2" || programName == "tester" )
+ programName == "pcsx2" || programName == "tester"||
+ programName == "pcsxr" )
tdtnformat = fsmint;
else
tdtnformat = msfbcd;

View File

@ -0,0 +1,11 @@
--- plugins/dfbinimage2/Utils.cpp.orig 2011-07-20 07:24:34.070495566 +0200
+++ plugins/dfbinimage2/Utils.cpp 2011-07-20 07:24:48.493222477 +0200
@@ -124,7 +124,7 @@
#else
char* buf = getenv("_");
if (buf == NULL)
- return "pcsx";
+ return "pcsxr";
#endif
else
toReturn = buf;