diff options
-rw-r--r-- | emulators/applyppf/DESCR | 5 | ||||
-rw-r--r-- | emulators/applyppf/Makefile | 24 | ||||
-rw-r--r-- | emulators/applyppf/PLIST | 2 | ||||
-rw-r--r-- | emulators/applyppf/distinfo | 6 | ||||
-rw-r--r-- | emulators/applyppf/patches/patch-aa | 22 |
5 files changed, 59 insertions, 0 deletions
diff --git a/emulators/applyppf/DESCR b/emulators/applyppf/DESCR new file mode 100644 index 00000000000..4ae1d7a5738 --- /dev/null +++ b/emulators/applyppf/DESCR @@ -0,0 +1,5 @@ +PPF (PlayStation Patch File) is a tool dedicated to all PlayStation +coders and developers out there who are creating PAL/NTSC patches, +trainer options and even cracks for your favourite console system. +With the files in the PPF package you are in the position to make +patchfiles similar to IPS on SuperNES. diff --git a/emulators/applyppf/Makefile b/emulators/applyppf/Makefile new file mode 100644 index 00000000000..1cd104bac35 --- /dev/null +++ b/emulators/applyppf/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/03/18 19:56:27 wiz Exp $ +# + +DISTNAME= applyppf3_src +PKGNAME= applyppf-3.0 +CATEGORIES= emulators +MASTER_SITES= http://www.paradogs.com/download/ +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.paradogs.com/download/ +COMMENT= PPF (Playstation Patch File) v3.0 apply tool + +WRKSRC= ${WRKDIR} + +do-build: + cd ${BUILD_DIRS} && ${CC} ${CPPFLAGS} ${CFLAGS} \ + -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ + -D_LARGEFILE64_SOURCE -o applyppf applyppf3_linux.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/applyppf ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/applyppf/PLIST b/emulators/applyppf/PLIST new file mode 100644 index 00000000000..907a50bcb33 --- /dev/null +++ b/emulators/applyppf/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/18 19:56:27 wiz Exp $ +bin/applyppf diff --git a/emulators/applyppf/distinfo b/emulators/applyppf/distinfo new file mode 100644 index 00000000000..e491b80b5b8 --- /dev/null +++ b/emulators/applyppf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/03/18 19:56:27 wiz Exp $ + +SHA1 (applyppf3_src.zip) = d80dd39b322863defdea76a1703565a7ce569b23 +RMD160 (applyppf3_src.zip) = ec06579d49ef81148233f51bbacbd3fd948bb403 +Size (applyppf3_src.zip) = 5618 bytes +SHA1 (patch-aa) = 2e35e964870ae2843265496c6770e1d2d8733ece diff --git a/emulators/applyppf/patches/patch-aa b/emulators/applyppf/patches/patch-aa new file mode 100644 index 00000000000..1a7c37c4476 --- /dev/null +++ b/emulators/applyppf/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/03/18 19:56:27 wiz Exp $ + +--- applyppf3_linux.c.orig 2001-11-26 16:48:30.000000000 +0000 ++++ applyppf3_linux.c +@@ -20,7 +20,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + +-#if defined(__APPLE__) || defined (MACOSX) ++#if !defined(__linux__) + + ////////////////////////////////////////////////////////////////////// + // fseeko is already 64 bit for Darwin/MacOS X! +@@ -40,7 +40,7 @@ + + typedef off_t __off64_t; + +-#endif /* __APPLE__ || MACOSX */ ++#endif /* __linux__ */ + + ////////////////////////////////////////////////////////////////////// + // Macros for little to big Endian conversion. |