Index: head/games/lmarbles/Makefile =================================================================== --- head/games/lmarbles/Makefile (revision 313623) +++ head/games/lmarbles/Makefile (revision 313624) @@ -1,38 +1,58 @@ -# New ports collection makefile for: marbles -# Date created: 12 June 2002 -# Whom: verm@drunkmonk.net -# +# Created by: verm@drunkmonk.net # $FreeBSD$ -# PORTNAME= lmarbles PORTVERSION= 1.0.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= SF/lgames/${PORTNAME} +MASTER_SITES= SF/lgames/${PORTNAME} \ + SF/nemysisfreebsdp/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}_icons${EXTRACT_SUFX}:icons -MAINTAINER= ports@FreeBSD.org -COMMENT= A challenging puzzle game similar to Atomix +MAINTAINER= nemysis@gmx.ch +COMMENT= Atomix-like game of moving marbles in puzzles +LICENSE= GPLv2 + USE_SDL= sdl mixer USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=${DATADIR} +CONFIGURE_ARGS= --localstatedir=${ETCDIR} MAN6= ${PORTNAME}.6 +PORTDOCS= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= AUTHORS ChangeLog README README-SDL.txt + +DOCSRCDIR2= ${WRKSRC}/src/manual +DOCSDIR2= ${DOCSDIR}/manual +DOC_FILES2= *.jpg *.html + +.include + post-patch: @${REINPLACE_CMD} -e 's|(datadir)/icons|(datadir)/pixmaps|g' \ + -e 's|(datadir)/pixmaps/lmarbles32.gif|(datadir)/pixmaps/lmarbles32.png|g' \ + -e 's|(datadir)/pixmaps/lmarbles48.gif|(datadir)/pixmaps/lmarbles48.png|g' \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|-m 666||g' \ + -e 's|lmarbles.prfs|lmarbles.prfs.sample|g' \ + ${WRKSRC}/src/Makefile.in post-install: - @${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} - ${INSTALL_DATA} ${WRKSRC}/src/manual/* ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps/ + @if [ ! -f ${ETCDIR}/lmarbles.prfs ] ; then \ + ${INSTALL_DATA} ${ETCDIR}/lmarbles.prfs.sample ${ETCDIR}/lmarbles.prfs ; \ + fi + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} + ${MKDIR} ${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} .endif .include Property changes on: head/games/lmarbles/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/lmarbles/distinfo =================================================================== --- head/games/lmarbles/distinfo (revision 313623) +++ head/games/lmarbles/distinfo (revision 313624) @@ -1,2 +1,4 @@ SHA256 (lmarbles-1.0.8.tar.gz) = 0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83 SIZE (lmarbles-1.0.8.tar.gz) = 914238 +SHA256 (lmarbles_icons.tar.gz) = 7e33408a4b6a2e39c979654607757d53432f2d1eaa6814f4f2892939faa8a8cb +SIZE (lmarbles_icons.tar.gz) = 4096 Property changes on: head/games/lmarbles/distinfo ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/lmarbles/pkg-descr =================================================================== --- head/games/lmarbles/pkg-descr (revision 313623) +++ head/games/lmarbles/pkg-descr (revision 313624) @@ -1,5 +1,10 @@ LMarbles is a game similar to Atomix and was heavily inspired by it. The goal is to arrange a figure out of single marbles within a time limit to reach the next level. +Your goal in the puzzle game marbles is to create a more or less complex +figure out of single marbles within a time limit to reach the next +level. Sounds easy? Well, there is a problem: If a marble starts to +move, it will not stop until it hits a wall or another marble. + WWW: http://lgames.sourceforge.net/index.php?project=LMarbles Property changes on: head/games/lmarbles/pkg-descr ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/lmarbles/pkg-plist =================================================================== --- head/games/lmarbles/pkg-plist (revision 313623) +++ head/games/lmarbles/pkg-plist (revision 313624) @@ -1,84 +1,82 @@ 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 %%DATADIR%%/gfx/f_white.bmp %%DATADIR%%/gfx/f_yellow.bmp %%DATADIR%%/gfx/figure.bmp %%DATADIR%%/gfx/lights.bmp %%DATADIR%%/gfx/logo.bmp %%DATADIR%%/gfx/m_frame.bmp %%DATADIR%%/gfx/m_sframe.bmp %%DATADIR%%/gfx/marbles.bmp %%DATADIR%%/gfx/metal/arrow_d.bmp %%DATADIR%%/gfx/metal/arrow_l.bmp %%DATADIR%%/gfx/metal/arrow_r.bmp %%DATADIR%%/gfx/metal/arrow_u.bmp %%DATADIR%%/gfx/metal/background.bmp %%DATADIR%%/gfx/metal/barrier_lr.bmp %%DATADIR%%/gfx/metal/barrier_ud.bmp %%DATADIR%%/gfx/metal/floor.bmp %%DATADIR%%/gfx/metal/teleport0.bmp %%DATADIR%%/gfx/metal/teleport1.bmp %%DATADIR%%/gfx/metal/teleport2.bmp %%DATADIR%%/gfx/metal/teleport3.bmp %%DATADIR%%/gfx/metal/wall.bmp %%DATADIR%%/gfx/metal/wall_crumble.bmp %%DATADIR%%/gfx/stone/arrow_d.bmp %%DATADIR%%/gfx/stone/arrow_l.bmp %%DATADIR%%/gfx/stone/arrow_r.bmp %%DATADIR%%/gfx/stone/arrow_u.bmp %%DATADIR%%/gfx/stone/background.bmp %%DATADIR%%/gfx/stone/barrier_lr.bmp %%DATADIR%%/gfx/stone/barrier_ud.bmp %%DATADIR%%/gfx/stone/floor.bmp %%DATADIR%%/gfx/stone/teleport0.bmp %%DATADIR%%/gfx/stone/teleport1.bmp %%DATADIR%%/gfx/stone/teleport2.bmp %%DATADIR%%/gfx/stone/teleport3.bmp %%DATADIR%%/gfx/stone/wall.bmp %%DATADIR%%/gfx/stone/wall_crumble.bmp %%DATADIR%%/gfx/tiny.sdlfnt %%DATADIR%%/gfx/title.bmp %%DATADIR%%/gfx/win_icon.bmp %%DATADIR%%/gfx/wood/arrow_d.bmp %%DATADIR%%/gfx/wood/arrow_l.bmp %%DATADIR%%/gfx/wood/arrow_r.bmp %%DATADIR%%/gfx/wood/arrow_u.bmp %%DATADIR%%/gfx/wood/background.bmp %%DATADIR%%/gfx/wood/barrier_lr.bmp %%DATADIR%%/gfx/wood/barrier_ud.bmp %%DATADIR%%/gfx/wood/floor.bmp %%DATADIR%%/gfx/wood/teleport0.bmp %%DATADIR%%/gfx/wood/teleport1.bmp %%DATADIR%%/gfx/wood/teleport2.bmp %%DATADIR%%/gfx/wood/teleport3.bmp %%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 %%DATADIR%%/sounds/explode.wav %%DATADIR%%/sounds/score.wav %%DATADIR%%/sounds/select.wav %%DATADIR%%/sounds/stop.wav %%DATADIR%%/sounds/teleport.wav +share/pixmaps/lmarbles32.png share/pixmaps/lmarbles48.gif +share/pixmaps/lmarbles48.png @dirrm %%DATADIR%%/sounds @dirrm %%DATADIR%%/levels @dirrm %%DATADIR%%/gfx/wood @dirrm %%DATADIR%%/gfx/stone @dirrm %%DATADIR%%/gfx/metal @dirrm %%DATADIR%%/gfx @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% +@unexec if cmp -s %D/%%ETCDIR%%/lmarbles.prfs.sample %D/%%ETCDIR%%/lmarbles.prfs ; then rm -f %D/%%ETCDIR%%/lmarbles.prfs ; fi +%%ETCDIR%%/lmarbles.prfs.sample +@exec if [ ! -f %D/%%ETCDIR%%/lmarbles.prfs ] ; then cp -p %D/%F %B/lmarbles.prfs ; fi +@dirrmtry %%ETCDIR%% @dirrmtry share/applications Property changes on: head/games/lmarbles/pkg-plist ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property