aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-11-12 10:52:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-11-12 10:52:21 +0000
commit5f8f1c3e28fb8071df2b77d59b9d0c8ddc63ce5e (patch)
treebc39a33621e539cc35fada014079b4b65c317df4 /games
parent9b25d114cfbea224896b6833e40bf23e1b911599 (diff)
downloadports-5f8f1c3e28fb8071df2b77d59b9d0c8ddc63ce5e.tar.gz
ports-5f8f1c3e28fb8071df2b77d59b9d0c8ddc63ce5e.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/lmarbles/Makefile22
-rw-r--r--games/lmarbles/distinfo6
-rw-r--r--games/lmarbles/pkg-plist18
3 files changed, 28 insertions, 18 deletions
diff --git a/games/lmarbles/Makefile b/games/lmarbles/Makefile
index a64e79be76d1..2aec174c704c 100644
--- a/games/lmarbles/Makefile
+++ b/games/lmarbles/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= lmarbles
-PORTVERSION= 1.0.7
-PORTREVISION= 3
+PORTVERSION= 1.0.8
CATEGORIES= games
-MASTER_SITES= SF/lgames/marbles/1.0
+MASTER_SITES= SF/lgames/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A challenging puzzle game similar to Atomix
@@ -17,20 +16,21 @@ COMMENT= A challenging puzzle game similar to Atomix
USE_SDL= sdl mixer
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var/games
+CONFIGURE_ARGS= --localstatedir=${DATADIR}
-MAN6= lmarbles.6
-
-PORTDOCS= *
+MAN6= ${PORTNAME}.6
post-patch:
- @${REINPLACE_CMD} -e 's/SDL\///' ${WRKSRC}/src/*.[ch]
+ @${REINPLACE_CMD} -e 's|(datadir)/icons|(datadir)/pixmaps|g' \
+ ${WRKSRC}/Makefile.in
post-install:
- @${CHOWN} root:games ${PREFIX}/bin/lmarbles
- @${CHMOD} g+s ${PREFIX}/bin/lmarbles
+ @${CHMOD} 2755 ${PREFIX}/bin/${PORTNAME}
+ @${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
+ @${CHMOD} 0664 ${DATADIR}/${PORTNAME}.prfs
+ @${CHOWN} root:games ${DATADIR}/${PORTNAME}.prfs
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/src/manual/* ${DOCSDIR}
.endif
diff --git a/games/lmarbles/distinfo b/games/lmarbles/distinfo
index 83b3d6dcec0e..291bd685341e 100644
--- a/games/lmarbles/distinfo
+++ b/games/lmarbles/distinfo
@@ -1,3 +1,3 @@
-MD5 (lmarbles-1.0.7.tar.gz) = b29156bc5021877d080e5e268012f4ec
-SHA256 (lmarbles-1.0.7.tar.gz) = 194c3e4e4e2b6477b7b9376b66df06745d4e23086e97b24712d1380c5376274a
-SIZE (lmarbles-1.0.7.tar.gz) = 829635
+MD5 (lmarbles-1.0.8.tar.gz) = 2735ef0cbf39ac79194321ff49e02f0e
+SHA256 (lmarbles-1.0.8.tar.gz) = 0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83
+SIZE (lmarbles-1.0.8.tar.gz) = 914238
diff --git a/games/lmarbles/pkg-plist b/games/lmarbles/pkg-plist
index 4c7cabad8425..a74631f35a3d 100644
--- a/games/lmarbles/pkg-plist
+++ b/games/lmarbles/pkg-plist
@@ -1,4 +1,11 @@
bin/lmarbles
+share/applications/lmarbles.desktop
+%%PORTDOCS%%%%DOCSDIR%%/arrow.jpg
+%%PORTDOCS%%%%DOCSDIR%%/arrow2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/crumble.jpg
+%%PORTDOCS%%%%DOCSDIR%%/manual.html
+%%PORTDOCS%%%%DOCSDIR%%/marbles.jpg
+%%PORTDOCS%%%%DOCSDIR%%/teleport.jpg
%%DATADIR%%/gfx/board.bmp
%%DATADIR%%/gfx/f_red.bmp
%%DATADIR%%/gfx/f_small.bmp
@@ -56,6 +63,7 @@ bin/lmarbles
%%DATADIR%%/gfx/wood/wall.bmp
%%DATADIR%%/gfx/wood/wall_crumble.bmp
%%DATADIR%%/levels/Original
+%%DATADIR%%/lmarbles.prfs
%%DATADIR%%/sounds/alarm.wav
%%DATADIR%%/sounds/arrow.wav
%%DATADIR%%/sounds/click.wav
@@ -64,10 +72,12 @@ bin/lmarbles
%%DATADIR%%/sounds/select.wav
%%DATADIR%%/sounds/stop.wav
%%DATADIR%%/sounds/teleport.wav
-@dirrm %%DATADIR%%/gfx/metal
-@dirrm %%DATADIR%%/gfx/stone
+share/pixmaps/lmarbles48.gif
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/levels
@dirrm %%DATADIR%%/gfx/wood
+@dirrm %%DATADIR%%/gfx/stone
+@dirrm %%DATADIR%%/gfx/metal
@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%/levels
-@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%
+@dirrmtry share/applications