pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games Add games/sdlpop. Based on work by Yorick Hardy ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db50275b08da
branches:  trunk
changeset: 343289:db50275b08da
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Nov 02 14:35:37 2019 +0000

description:
Add games/sdlpop. Based on work by Yorick Hardy in pkgsrc-wip.

An open-source port of Prince of Persia, based on the disassembly of the
DOS version.

diffstat:

 games/Makefile                          |     3 +-
 games/sdlpop/DESCR                      |     2 +
 games/sdlpop/Makefile                   |    46 +
 games/sdlpop/PLIST                      |  1059 +++++++++++++++++++++++++++++++
 games/sdlpop/distinfo                   |     9 +
 games/sdlpop/files/prince.desktop       |     8 +
 games/sdlpop/patches/patch-options.c    |    26 +
 games/sdlpop/patches/patch-seg009.c     |    27 +
 games/sdlpop/patches/patch-src_Makefile |    15 +
 9 files changed, 1194 insertions(+), 1 deletions(-)

diffs (truncated from 1241 to 300 lines):

diff -r 9d4f83669b4b -r db50275b08da games/Makefile
--- a/games/Makefile    Sat Nov 02 14:34:35 2019 +0000
+++ b/games/Makefile    Sat Nov 02 14:35:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.465 2019/10/29 17:59:17 nia Exp $
+# $NetBSD: Makefile,v 1.466 2019/11/02 14:35:37 nia Exp $
 #
 
 COMMENT=       Games
@@ -342,6 +342,7 @@
 SUBDIR+=       scummvm-bass
 SUBDIR+=       scummvm-fotaq
 SUBDIR+=       scummvm-tools
+SUBDIR+=       sdlpop
 SUBDIR+=       sex
 SUBDIR+=       sienna
 SUBDIR+=       simgear
diff -r 9d4f83669b4b -r db50275b08da games/sdlpop/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sdlpop/DESCR        Sat Nov 02 14:35:37 2019 +0000
@@ -0,0 +1,2 @@
+An open-source port of Prince of Persia, based on the disassembly of the
+DOS version.
diff -r 9d4f83669b4b -r db50275b08da games/sdlpop/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sdlpop/Makefile     Sat Nov 02 14:35:37 2019 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2019/11/02 14:35:37 nia Exp $
+
+DISTNAME=      sdlpop-1.20
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=NagyD/}
+GITHUB_PROJECT=        SDLPoP
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/NagyD/SDLPoP
+COMMENT=       Open-source port of Prince of Persia
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake pkg-config
+
+BUILD_DIRS=    src
+
+MAKE_FLAGS=    CC=${CC:Q}
+
+CPPFLAGS+=     -DPKGSRC_DATA_PATH="\"${PREFIX}/share/sdlpop/\""
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/doc/sdlpop
+INSTALLATION_DIRS+=    share/pixmaps
+INSTALLATION_DIRS+=    share/sdlpop
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/prince ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/SDLPoP.ini ${DESTDIR}${PREFIX}/share/sdlpop
+       ${INSTALL_DATA} ${WRKSRC}/doc/ChangeLog.txt ${DESTDIR}${PREFIX}/share/doc/sdlpop
+       ${INSTALL_DATA} ${WRKSRC}/doc/Readme.txt ${DESTDIR}${PREFIX}/share/doc/sdlpop
+       cd ${WRKSRC} && find data -type d | while read dir; do \
+               ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/sdlpop/$$dir; \
+       done
+       cd ${WRKSRC} && find data -type f | while read file; do \
+               ${INSTALL_DATA} $$file ${DESTDIR}${PREFIX}/share/sdlpop/$$file; \
+       done
+       ${INSTALL_DATA} ${FILESDIR}/prince.desktop ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/data/icon.png ${DESTDIR}${PREFIX}/share/pixmaps/prince.png
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9d4f83669b4b -r db50275b08da games/sdlpop/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/sdlpop/PLIST        Sat Nov 02 14:35:37 2019 +0000
@@ -0,0 +1,1059 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/02 14:35:37 nia Exp $
+bin/prince
+share/applications/prince.desktop
+share/doc/sdlpop/ChangeLog.txt
+share/doc/sdlpop/Readme.txt
+share/pixmaps/prince.png
+share/sdlpop/SDLPoP.ini
+share/sdlpop/data/DIGISND1.DAT
+share/sdlpop/data/DIGISND2.DAT
+share/sdlpop/data/DIGISND3.DAT
+share/sdlpop/data/FAT/res750.pal
+share/sdlpop/data/FAT/res751.png
+share/sdlpop/data/FAT/res752.png
+share/sdlpop/data/FAT/res753.png
+share/sdlpop/data/FAT/res754.png
+share/sdlpop/data/FAT/res755.png
+share/sdlpop/data/FAT/res756.png
+share/sdlpop/data/FAT/res757.png
+share/sdlpop/data/FAT/res758.png
+share/sdlpop/data/FAT/res759.png
+share/sdlpop/data/FAT/res760.png
+share/sdlpop/data/FAT/res761.png
+share/sdlpop/data/FAT/res762.png
+share/sdlpop/data/FAT/res763.png
+share/sdlpop/data/FAT/res764.png
+share/sdlpop/data/FAT/res765.png
+share/sdlpop/data/FAT/res766.png
+share/sdlpop/data/FAT/res767.png
+share/sdlpop/data/FAT/res768.png
+share/sdlpop/data/FAT/res769.png
+share/sdlpop/data/FAT/res770.png
+share/sdlpop/data/FAT/res771.png
+share/sdlpop/data/FAT/res772.png
+share/sdlpop/data/FAT/res773.png
+share/sdlpop/data/FAT/res774.png
+share/sdlpop/data/FAT/res775.png
+share/sdlpop/data/FAT/res776.png
+share/sdlpop/data/FAT/res777.png
+share/sdlpop/data/FAT/res778.png
+share/sdlpop/data/FAT/res779.png
+share/sdlpop/data/FAT/res780.png
+share/sdlpop/data/FAT/res781.png
+share/sdlpop/data/FAT/res782.png
+share/sdlpop/data/FAT/res783.png
+share/sdlpop/data/FAT/res784.png
+share/sdlpop/data/GUARD.DAT
+share/sdlpop/data/GUARD/res751.png
+share/sdlpop/data/GUARD/res752.png
+share/sdlpop/data/GUARD/res753.png
+share/sdlpop/data/GUARD/res754.png
+share/sdlpop/data/GUARD/res755.png
+share/sdlpop/data/GUARD/res756.png
+share/sdlpop/data/GUARD/res757.png
+share/sdlpop/data/GUARD/res758.png
+share/sdlpop/data/GUARD/res759.png
+share/sdlpop/data/GUARD/res760.png
+share/sdlpop/data/GUARD/res761.png
+share/sdlpop/data/GUARD/res762.png
+share/sdlpop/data/GUARD/res763.png
+share/sdlpop/data/GUARD/res764.png
+share/sdlpop/data/GUARD/res765.png
+share/sdlpop/data/GUARD/res766.png
+share/sdlpop/data/GUARD/res767.png
+share/sdlpop/data/GUARD/res768.png
+share/sdlpop/data/GUARD/res769.png
+share/sdlpop/data/GUARD/res770.png
+share/sdlpop/data/GUARD/res771.png
+share/sdlpop/data/GUARD/res772.png
+share/sdlpop/data/GUARD/res773.png
+share/sdlpop/data/GUARD/res774.png
+share/sdlpop/data/GUARD/res775.png
+share/sdlpop/data/GUARD/res776.png
+share/sdlpop/data/GUARD/res777.png
+share/sdlpop/data/GUARD/res778.png
+share/sdlpop/data/GUARD/res779.png
+share/sdlpop/data/GUARD/res780.png
+share/sdlpop/data/GUARD/res781.png
+share/sdlpop/data/GUARD/res782.png
+share/sdlpop/data/GUARD/res783.png
+share/sdlpop/data/GUARD/res784.png
+share/sdlpop/data/GUARD1.DAT
+share/sdlpop/data/GUARD1/res750.pal
+share/sdlpop/data/GUARD2.DAT
+share/sdlpop/data/GUARD2/res750.pal
+share/sdlpop/data/IBM_SND1/res10000.bin
+share/sdlpop/data/IBM_SND1/res10001.bin
+share/sdlpop/data/IBM_SND1/res10002.bin
+share/sdlpop/data/IBM_SND1/res10003.bin
+share/sdlpop/data/IBM_SND1/res10004.bin
+share/sdlpop/data/IBM_SND1/res10005.bin
+share/sdlpop/data/IBM_SND1/res10006.bin
+share/sdlpop/data/IBM_SND1/res10007.bin
+share/sdlpop/data/IBM_SND1/res10008.bin
+share/sdlpop/data/IBM_SND1/res10009.bin
+share/sdlpop/data/IBM_SND1/res10010.bin
+share/sdlpop/data/IBM_SND1/res10011.bin
+share/sdlpop/data/IBM_SND1/res10012.bin
+share/sdlpop/data/IBM_SND1/res10013.bin
+share/sdlpop/data/IBM_SND1/res10014.bin
+share/sdlpop/data/IBM_SND1/res10015.bin
+share/sdlpop/data/IBM_SND1/res10016.bin
+share/sdlpop/data/IBM_SND1/res10017.bin
+share/sdlpop/data/IBM_SND1/res10018.bin
+share/sdlpop/data/IBM_SND1/res10019.bin
+share/sdlpop/data/IBM_SND1/res10020.bin
+share/sdlpop/data/IBM_SND1/res10021.bin
+share/sdlpop/data/IBM_SND1/res10022.bin
+share/sdlpop/data/IBM_SND1/res10023.bin
+share/sdlpop/data/IBM_SND1/res10024.bin
+share/sdlpop/data/IBM_SND1/res10025.bin
+share/sdlpop/data/IBM_SND1/res10026.bin
+share/sdlpop/data/IBM_SND1/res10027.bin
+share/sdlpop/data/IBM_SND1/res10028.bin
+share/sdlpop/data/IBM_SND1/res10029.bin
+share/sdlpop/data/IBM_SND1/res10030.bin
+share/sdlpop/data/IBM_SND1/res10031.bin
+share/sdlpop/data/IBM_SND1/res10032.bin
+share/sdlpop/data/IBM_SND1/res10033.bin
+share/sdlpop/data/IBM_SND1/res10034.bin
+share/sdlpop/data/IBM_SND1/res10035.bin
+share/sdlpop/data/IBM_SND1/res10036.bin
+share/sdlpop/data/IBM_SND1/res10037.bin
+share/sdlpop/data/IBM_SND1/res10038.bin
+share/sdlpop/data/IBM_SND1/res10039.bin
+share/sdlpop/data/IBM_SND1/res10040.bin
+share/sdlpop/data/IBM_SND1/res10041.bin
+share/sdlpop/data/IBM_SND1/res10042.bin
+share/sdlpop/data/IBM_SND1/res10043.bin
+share/sdlpop/data/IBM_SND2/res10044.bin
+share/sdlpop/data/IBM_SND2/res10045.bin
+share/sdlpop/data/IBM_SND2/res10046.bin
+share/sdlpop/data/IBM_SND2/res10047.bin
+share/sdlpop/data/IBM_SND2/res10048.bin
+share/sdlpop/data/IBM_SND2/res10049.bin
+share/sdlpop/data/IBM_SND2/res10050.bin
+share/sdlpop/data/IBM_SND2/res10051.bin
+share/sdlpop/data/IBM_SND2/res10052.bin
+share/sdlpop/data/IBM_SND2/res10053.bin
+share/sdlpop/data/IBM_SND2/res10054.bin
+share/sdlpop/data/IBM_SND2/res10055.bin
+share/sdlpop/data/IBM_SND2/res10056.bin
+share/sdlpop/data/KID/res400.pal
+share/sdlpop/data/KID/res401.png
+share/sdlpop/data/KID/res402.png
+share/sdlpop/data/KID/res403.png
+share/sdlpop/data/KID/res404.png
+share/sdlpop/data/KID/res405.png
+share/sdlpop/data/KID/res406.png
+share/sdlpop/data/KID/res407.png
+share/sdlpop/data/KID/res408.png
+share/sdlpop/data/KID/res409.png
+share/sdlpop/data/KID/res410.png
+share/sdlpop/data/KID/res411.png
+share/sdlpop/data/KID/res412.png
+share/sdlpop/data/KID/res413.png
+share/sdlpop/data/KID/res414.png
+share/sdlpop/data/KID/res415.png
+share/sdlpop/data/KID/res416.png
+share/sdlpop/data/KID/res417.png
+share/sdlpop/data/KID/res418.png
+share/sdlpop/data/KID/res419.png
+share/sdlpop/data/KID/res420.png
+share/sdlpop/data/KID/res421.png
+share/sdlpop/data/KID/res422.png
+share/sdlpop/data/KID/res423.png
+share/sdlpop/data/KID/res424.png
+share/sdlpop/data/KID/res425.png
+share/sdlpop/data/KID/res426.png
+share/sdlpop/data/KID/res427.png
+share/sdlpop/data/KID/res428.png
+share/sdlpop/data/KID/res429.png
+share/sdlpop/data/KID/res430.png
+share/sdlpop/data/KID/res431.png
+share/sdlpop/data/KID/res432.png
+share/sdlpop/data/KID/res433.png
+share/sdlpop/data/KID/res434.png
+share/sdlpop/data/KID/res435.png
+share/sdlpop/data/KID/res436.png
+share/sdlpop/data/KID/res437.png
+share/sdlpop/data/KID/res438.png
+share/sdlpop/data/KID/res439.png
+share/sdlpop/data/KID/res440.png
+share/sdlpop/data/KID/res441.png
+share/sdlpop/data/KID/res442.png
+share/sdlpop/data/KID/res443.png
+share/sdlpop/data/KID/res444.png
+share/sdlpop/data/KID/res445.png
+share/sdlpop/data/KID/res446.png
+share/sdlpop/data/KID/res447.png
+share/sdlpop/data/KID/res448.png
+share/sdlpop/data/KID/res449.png
+share/sdlpop/data/KID/res450.png
+share/sdlpop/data/KID/res451.png
+share/sdlpop/data/KID/res452.png
+share/sdlpop/data/KID/res453.png
+share/sdlpop/data/KID/res454.png
+share/sdlpop/data/KID/res455.png
+share/sdlpop/data/KID/res456.png
+share/sdlpop/data/KID/res457.png
+share/sdlpop/data/KID/res458.png
+share/sdlpop/data/KID/res459.png
+share/sdlpop/data/KID/res460.png
+share/sdlpop/data/KID/res461.png
+share/sdlpop/data/KID/res462.png
+share/sdlpop/data/KID/res463.png
+share/sdlpop/data/KID/res464.png
+share/sdlpop/data/KID/res465.png
+share/sdlpop/data/KID/res466.png
+share/sdlpop/data/KID/res467.png
+share/sdlpop/data/KID/res468.png
+share/sdlpop/data/KID/res469.png
+share/sdlpop/data/KID/res470.png
+share/sdlpop/data/KID/res471.png
+share/sdlpop/data/KID/res472.png
+share/sdlpop/data/KID/res473.png
+share/sdlpop/data/KID/res474.png
+share/sdlpop/data/KID/res475.png
+share/sdlpop/data/KID/res476.png
+share/sdlpop/data/KID/res477.png
+share/sdlpop/data/KID/res478.png
+share/sdlpop/data/KID/res479.png
+share/sdlpop/data/KID/res480.png
+share/sdlpop/data/KID/res481.png



Home | Main Index | Thread Index | Old Index