pkgsrc-WIP-changes archive

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

pinball; fixed hiscores func.



Module Name:	pkgsrc-wip
Committed By:	i3enedek <git%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Mon Sep 26 13:33:05 2016 +0100
Changeset:	42fb0f74c0e034ef8964c5adb9bd1b08ec761cee

Modified Files:
	pinball/Makefile

Log Message:
pinball; fixed hiscores func.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=42fb0f74c0e034ef8964c5adb9bd1b08ec761cee

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pinball/Makefile | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diffs:
diff --git a/pinball/Makefile b/pinball/Makefile
index 704754a..ac722af 100644
--- a/pinball/Makefile
+++ b/pinball/Makefile
@@ -13,15 +13,28 @@ LICENSE=	gnu-gpl-v1
 
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake aclocal automake
+USE_GAMESGROUP=	YES
 GNU_CONFIGURE=	YES
-WRKSRC=		${WRKDIR}/pinball-0.3.1
+CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
+USE_LIBTOOL=	YES
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
-MAKE_JOBS_SAFE=                no
+
+MAKE_JOBS_SAFE=	no
+
+BUILD_DEFS+=		VARBASE
+SPECIAL_PERMS+=		bin/pinball ${SETGID_GAMES_PERMS}
+REQD_DIRS_PERMS+=	${VARBASE}/games/pinball ${GAMEDIR_PERMS}
+REQD_DIRS_PERMS+=	${VARBASE}/games/pinball/tux ${GAMEDIR_PERMS}
+REQD_DIRS_PERMS+=	${VARBASE}/games/pinball/professor ${GAMEDIR_PERMS}
+REQD_FILES_PERMS+=	/dev/null ${VARBASE}/games/pinball/tux/highscores ${GAMEDATA_PERMS}
+REQD_FILES_PERMS+=	/dev/null ${VARBASE}/games/pinball/professor/highscores ${GAMEDATA_PERMS}
 
 post-extract:
 	cp ${FILESDIR}/config-rzr.h ${WRKSRC}/base/config-rzr.h
 
-.include "../../devel/allegro/buildlink3.mk"
+#Allegro is broken in 3.0.1
+#.include "../../devel/allegro/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../graphics/SDL_image/buildlink3.mk"
 .include "../../audio/SDL_mixer/buildlink3.mk"


Home | Main Index | Thread Index | Old Index