summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-03-18 20:01:28 +0000
committerwiz <wiz@pkgsrc.org>2007-03-18 20:01:28 +0000
commitdd6e45a276c4b510cb0c004ac6c4449959b148ec (patch)
tree4f6f9fa3e0f39f91df5f39a28d2b98256157e276
parent47513988d62d8c94a385bf2eb7a46d6ddb73f346 (diff)
downloadpkgsrc-dd6e45a276c4b510cb0c004ac6c4449959b148ec.tar.gz
Initial import of makeppf-3.0:
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. This package contains a tool to create PPF patches.
-rw-r--r--emulators/makeppf/DESCR7
-rw-r--r--emulators/makeppf/Makefile24
-rw-r--r--emulators/makeppf/PLIST2
-rw-r--r--emulators/makeppf/distinfo6
-rw-r--r--emulators/makeppf/patches/patch-aa22
5 files changed, 61 insertions, 0 deletions
diff --git a/emulators/makeppf/DESCR b/emulators/makeppf/DESCR
new file mode 100644
index 00000000000..7044a7e95ea
--- /dev/null
+++ b/emulators/makeppf/DESCR
@@ -0,0 +1,7 @@
+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.
+
+This package contains a tool to create PPF patches.
diff --git a/emulators/makeppf/Makefile b/emulators/makeppf/Makefile
new file mode 100644
index 00000000000..d96d2bc4879
--- /dev/null
+++ b/emulators/makeppf/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/18 20:01:28 wiz Exp $
+#
+
+DISTNAME= makeppf3_src
+PKGNAME= makeppf-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 creation tool
+
+WRKSRC= ${WRKDIR}
+
+do-build:
+ cd ${BUILD_DIRS} && ${CC} ${CPPFLAGS} ${CFLAGS} \
+ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
+ -D_LARGEFILE64_SOURCE -o makeppf makeppf3_linux.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/makeppf ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/makeppf/PLIST b/emulators/makeppf/PLIST
new file mode 100644
index 00000000000..b7022188e5e
--- /dev/null
+++ b/emulators/makeppf/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/18 20:01:28 wiz Exp $
+bin/makeppf
diff --git a/emulators/makeppf/distinfo b/emulators/makeppf/distinfo
new file mode 100644
index 00000000000..f3240a9213e
--- /dev/null
+++ b/emulators/makeppf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/18 20:01:28 wiz Exp $
+
+SHA1 (makeppf3_src.zip) = ae6abcd6a7973345f57f3fa8cfbd0ef651b24491
+RMD160 (makeppf3_src.zip) = 884c030c6f550c66836d0feb7f2573b73eaeb5e0
+Size (makeppf3_src.zip) = 7780 bytes
+SHA1 (patch-aa) = c5887ce56bbc17a9fb67548698a0827ae79a94f7
diff --git a/emulators/makeppf/patches/patch-aa b/emulators/makeppf/patches/patch-aa
new file mode 100644
index 00000000000..439ab2b130f
--- /dev/null
+++ b/emulators/makeppf/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/03/18 20:01:28 wiz Exp $
+
+--- makeppf3_linux.c.orig 2001-11-26 16:48:30.000000000 +0000
++++ makeppf3_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.