diff options
Diffstat (limited to 'games/ivan')
-rw-r--r-- | games/ivan/Makefile | 9 | ||||
-rw-r--r-- | games/ivan/pkg-install | 15 | ||||
-rw-r--r-- | games/ivan/pkg-plist | 9 |
3 files changed, 12 insertions, 21 deletions
diff --git a/games/ivan/Makefile b/games/ivan/Makefile index 59ee68d7f07e..bec41346b9c6 100644 --- a/games/ivan/Makefile +++ b/games/ivan/Makefile @@ -3,13 +3,16 @@ PORTNAME= ivan PORTVERSION= 0.50 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/IVAN/IVAN%20${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Graphical roguelike game +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + USE_SDL= sdl USES= gmake GNU_CONFIGURE= yes @@ -33,4 +36,8 @@ post-patch: ${WRKSRC}/Main/Include/stack.h ${WRKSRC}/Main/Source/lsquare.cpp \ ${WRKSRC}/Main/Source/lterras.cpp +post-install: + ${MKDIR} ${STAGEDIR}/var/games/ivan/Bones + ${TOUCH} ${STAGEDIR}/var/games/ivan/ivan-highscore.scores.sample + .include <bsd.port.mk> diff --git a/games/ivan/pkg-install b/games/ivan/pkg-install deleted file mode 100644 index d3a81f914d2e..000000000000 --- a/games/ivan/pkg-install +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -STATEDIR="/var/games/ivan" - -[ "$2" != "POST-INSTALL" -o -d "$SCOREDIR" ] && exit 0 - -echo "Creating state directory..." - -mkdir -p "$STATEDIR" -touch "$STATEDIR/ivan-highscore.scores" -mkdir -p "$STATEDIR/Bones" -chgrp -R games "$STATEDIR" -chmod -R g+w "$STATEDIR" diff --git a/games/ivan/pkg-plist b/games/ivan/pkg-plist index 18adaf7fd62a..499d0079211a 100644 --- a/games/ivan/pkg-plist +++ b/games/ivan/pkg-plist @@ -1,5 +1,4 @@ -@group games -@mode 2555 -bin/ivan -@mode -@group +@(,games,2555) bin/ivan +@sample(,games,664) /var/games/ivan/ivan-highscore.scores.sample +@dir(,games,775) /var/games/ivan/Bones +@dir(,games,775) /var/games/ivan |