diff options
author | martymac <martymac@FreeBSD.org> | 2011-11-03 13:32:58 +0000 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2011-11-03 13:32:58 +0000 |
commit | 689aeed843b466c88fd85d4bb8c90674abc62ed8 (patch) | |
tree | 3bf9d9b94f1c9c0a4c92316f4e65a4f1b9cfb1f6 /emulators | |
parent | b6a7685ec94e830e17729d44c54bfe3e7b274f3d (diff) | |
download | FreeBSD-ports-689aeed843b466c88fd85d4bb8c90674abc62ed8.zip FreeBSD-ports-689aeed843b466c88fd85d4bb8c90674abc62ed8.tar.gz |
- Fix dfbinimage2 CD handling (program identification)
- Swap LICENSE and *DEPENDS to make portlint happy
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/pcsxr/Makefile | 6 | ||||
-rw-r--r-- | emulators/pcsxr/files/patch-plugins-dfbinimage2-CDInterface.hpp | 12 | ||||
-rw-r--r-- | emulators/pcsxr/files/patch-plugins-dfbinimage2-Utils.cpp | 11 |
3 files changed, 26 insertions, 3 deletions
diff --git a/emulators/pcsxr/Makefile b/emulators/pcsxr/Makefile index 75aa67f..af104fd 100644 --- a/emulators/pcsxr/Makefile +++ b/emulators/pcsxr/Makefile @@ -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 diff --git a/emulators/pcsxr/files/patch-plugins-dfbinimage2-CDInterface.hpp b/emulators/pcsxr/files/patch-plugins-dfbinimage2-CDInterface.hpp new file mode 100644 index 0000000..0e663bc --- /dev/null +++ b/emulators/pcsxr/files/patch-plugins-dfbinimage2-CDInterface.hpp @@ -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; diff --git a/emulators/pcsxr/files/patch-plugins-dfbinimage2-Utils.cpp b/emulators/pcsxr/files/patch-plugins-dfbinimage2-Utils.cpp new file mode 100644 index 0000000..b01304b --- /dev/null +++ b/emulators/pcsxr/files/patch-plugins-dfbinimage2-Utils.cpp @@ -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; |