diff --git a/games/late/Makefile b/games/late/Makefile index df818b3b0b7..4813516e24a 100644 --- a/games/late/Makefile +++ b/games/late/Makefile @@ -1,8 +1,7 @@ -# $OpenBSD: Makefile,v 1.7 2009/08/10 06:31:42 kili Exp $ +# $OpenBSD: Makefile,v 1.8 2009/08/19 01:24:57 jolan Exp $ COMMENT= puzzle game resembling the arcade game Qix -DISTNAME= late-0.0.3 -PKGNAME= ${DISTNAME}p0 +DISTNAME= late-0.1.0 EXTRACT_SUFX= .tar.bz2 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=late/} @@ -23,6 +22,11 @@ LIB_DEPENDS= SDL_image::devel/sdl-image USE_X11= Yes CONFIGURE_STYLE=gnu +CONFIGURE_ARGS+=localstatedir=/var CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/late/ + ${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/late/late.scores + .include diff --git a/games/late/distinfo b/games/late/distinfo index f77dd74dcee..03dfbf084fa 100644 --- a/games/late/distinfo +++ b/games/late/distinfo @@ -1,5 +1,5 @@ -MD5 (late-0.0.3.tar.bz2) = FpYQ8WHf+a4SQ+Ii4JpGEw== -RMD160 (late-0.0.3.tar.bz2) = Kt6UvunNQ77Qk7CGjoeUiqlc5MU= -SHA1 (late-0.0.3.tar.bz2) = XLa5B6WaBQuSaXKywMPjya3cU9Q= -SHA256 (late-0.0.3.tar.bz2) = cg5KKTqMbioAh9PsRcqV7qPAHRdXbO8s4OPMpgBBtvI= -SIZE (late-0.0.3.tar.bz2) = 479028 +MD5 (late-0.1.0.tar.bz2) = ejSKLtvgifkYlc04cAURlg== +RMD160 (late-0.1.0.tar.bz2) = CUOzizLaApMzb6nliVm/mQZI/TI= +SHA1 (late-0.1.0.tar.bz2) = Bx560zBiq/xDZCGOIkZ7/yHh+i4= +SHA256 (late-0.1.0.tar.bz2) = dqrI5DbgQgZCeQZYEptaPyfINsB72baHGzyIqi+K/wo= +SIZE (late-0.1.0.tar.bz2) = 1560232 diff --git a/games/late/patches/patch-Makefile_in b/games/late/patches/patch-Makefile_in new file mode 100644 index 00000000000..5a94ee30dc2 --- /dev/null +++ b/games/late/patches/patch-Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-Makefile_in,v 1.1 2009/08/19 01:24:57 jolan Exp $ +--- Makefile.in.orig Wed Aug 20 15:28:57 2003 ++++ Makefile.in Tue Aug 18 20:18:36 2009 +@@ -133,7 +133,7 @@ target_vendor = @target_vendor@ + + SUBDIRS = src graphics data + +-scoredir = $(localstatedir)/lib/games ++scoredir = $(localstatedir)/games + + EXTRA_DIST = \ + autogen.sh +@@ -438,7 +438,7 @@ install-data: install-data-recursive + uninstall: uninstall-recursive + + install-am: all-am +- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am ++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am + + installcheck: installcheck-recursive + install-strip: diff --git a/games/late/patches/patch-configure b/games/late/patches/patch-configure new file mode 100644 index 00000000000..1d8f4e068a1 --- /dev/null +++ b/games/late/patches/patch-configure @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure,v 1.1 2009/08/19 01:24:57 jolan Exp $ +--- configure.orig Wed Aug 20 15:28:58 2003 ++++ configure Tue Aug 18 20:01:06 2009 +@@ -5200,6 +5200,8 @@ _ACEOF + + fi + ++LIBS="-lcompat $LIBS" ++ + + # Finally create all the generated files + ac_config_files="$ac_config_files Makefile src/Makefile graphics/Makefile data/Makefile" diff --git a/games/late/patches/patch-src_game_cpp b/games/late/patches/patch-src_game_cpp index 1b572a40d34..ddab1d839df 100644 --- a/games/late/patches/patch-src_game_cpp +++ b/games/late/patches/patch-src_game_cpp @@ -1,6 +1,6 @@ -$OpenBSD: patch-src_game_cpp,v 1.1.1.1 2003/08/09 14:10:37 jolan Exp $ ---- src/game.cpp.orig 2003-08-05 09:40:42.000000000 -0500 -+++ src/game.cpp 2003-08-09 00:05:23.000000000 -0500 +$OpenBSD: patch-src_game_cpp,v 1.2 2009/08/19 01:24:57 jolan Exp $ +--- src/game.cpp.orig Sun Aug 17 17:09:59 2003 ++++ src/game.cpp Tue Aug 18 19:41:30 2009 @@ -38,6 +38,7 @@ using namespace std; #include "explosiveball.h" #include @@ -8,4 +8,4 @@ $OpenBSD: patch-src_game_cpp,v 1.1.1.1 2003/08/09 14:10:37 jolan Exp $ +#include #include "menu.h" #include "killerball.h" - + #include "magnet.h" diff --git a/games/late/pkg/PLIST b/games/late/pkg/PLIST index 9833107f4fd..13bb5d33699 100644 --- a/games/late/pkg/PLIST +++ b/games/late/pkg/PLIST @@ -1,41 +1,36 @@ -@comment $OpenBSD: PLIST,v 1.2 2004/09/15 00:46:09 espie Exp $ -bin/late +@comment $OpenBSD: PLIST,v 1.3 2009/08/19 01:24:57 jolan Exp $ +@mode 2555 +@group games +@bin bin/late +@mode +@group +share/examples/late/ +share/examples/late/late.scores +@mode 664 +@group games +@sample /var/games/late.scores +@mode +@group share/late/ share/late/data/ share/late/data/level.txt share/late/graphics/ -share/late/graphics/Blob10.bmp -share/late/graphics/Blob11.bmp -share/late/graphics/Blob12.bmp -share/late/graphics/Blob13.bmp -share/late/graphics/Blob14.bmp -share/late/graphics/Blob15.bmp -share/late/graphics/Blob16.bmp -share/late/graphics/Blob17.bmp -share/late/graphics/Blob18.bmp -share/late/graphics/Blob19.bmp -share/late/graphics/Fire10.bmp -share/late/graphics/Fire11.bmp -share/late/graphics/Fire12.bmp -share/late/graphics/Fire13.bmp -share/late/graphics/Fire14.bmp -share/late/graphics/Fire15.bmp -share/late/graphics/Fire16.bmp -share/late/graphics/Fire17.bmp -share/late/graphics/Fire18.bmp -share/late/graphics/Fire19.bmp -share/late/graphics/Fire20.bmp -share/late/graphics/Fire21.bmp -share/late/graphics/Fire22.bmp -share/late/graphics/Fire23.bmp -share/late/graphics/Fire24.bmp -share/late/graphics/back.jpg share/late/graphics/ball.bmp -share/late/graphics/bluegrey.jpg +share/late/graphics/battery.bmp +share/late/graphics/blobstrip.bmp +share/late/graphics/bonus.bmp +share/late/graphics/bonus.jpg +share/late/graphics/brpu.bmp share/late/graphics/chronoball.bmp +share/late/graphics/cityscape1.jpg +share/late/graphics/cityscape2.jpg +share/late/graphics/clawball1.jpg +share/late/graphics/clawball2.jpg +share/late/graphics/firestrip.bmp share/late/graphics/font.bmp share/late/graphics/font2.bmp -share/late/graphics/front.jpg +share/late/graphics/grinder1.jpg +share/late/graphics/grinder2.jpg share/late/graphics/kball.bmp share/late/graphics/kballa.bmp share/late/graphics/knifeh.bmp @@ -44,21 +39,30 @@ share/late/graphics/knifehrt.bmp share/late/graphics/knifev.bmp share/late/graphics/knifevbt.bmp share/late/graphics/knifevtt.bmp +share/late/graphics/latebg1.jpg +share/late/graphics/latebg2.jpg share/late/graphics/lava.jpg -share/late/graphics/lightning1.bmp -share/late/graphics/lightning2.bmp -share/late/graphics/lightning3.bmp -share/late/graphics/lightning4.bmp -share/late/graphics/lightning5.bmp -share/late/graphics/lightning6.bmp -share/late/graphics/lightning7.bmp -share/late/graphics/lightning8.bmp -share/late/graphics/lightning9.bmp +share/late/graphics/lazerh.bmp +share/late/graphics/lazerhlt.bmp +share/late/graphics/lazerhrt.bmp +share/late/graphics/lazerv.bmp +share/late/graphics/lazervbt.bmp +share/late/graphics/lazervtt.bmp +share/late/graphics/life.bmp +share/late/graphics/lightningstrip.bmp +share/late/graphics/magnet.bmp +share/late/graphics/magnetstill.bmp share/late/graphics/menu.jpg share/late/graphics/playerh.bmp share/late/graphics/playerv.bmp +share/late/graphics/refinery1.jpg +share/late/graphics/refinery2.jpg share/late/graphics/selection.bmp -share/late/graphics/sidebar.jpg +share/late/graphics/sidebar.bmp +share/late/graphics/snake1.jpg +share/late/graphics/snake2.jpg +share/late/graphics/spaceship1.jpg +share/late/graphics/spaceship2.jpg share/late/graphics/splitball1.bmp share/late/graphics/splitball2.bmp share/late/graphics/splitball3.bmp