>Submitter-Id: current-users >Originator: Alejandro Pulver >Organization: >Confidential: no >Synopsis: Re: ports/83221: New port: games/anagramarama - Anagramarama - a word game for Linux, Windows and BeOS >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.4-RELEASE i386 >Environment: System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005 root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE >Description: This shell archive replaces the old one. Changes: * Make files/patch-Makefile shorter. * Remove 2 unneeded files from pkg-plist (and port's Makefile do-install target). >How-To-Repeat: >Fix: --- anagramarama.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # anagramarama # anagramarama/distinfo # anagramarama/Makefile # anagramarama/pkg-descr # anagramarama/pkg-plist # anagramarama/files # anagramarama/files/patch-makefile # echo c - anagramarama mkdir -p anagramarama > /dev/null 2>&1 echo x - anagramarama/distinfo sed 's/^X//' >anagramarama/distinfo << 'END-of-anagramarama/distinfo' XMD5 (anagramarama-0.2.tar.gz) = 6dcd8dc515f9c69df8a19119c04d9517 XSIZE (anagramarama-0.2.tar.gz) = 861484 END-of-anagramarama/distinfo echo x - anagramarama/Makefile sed 's/^X//' >anagramarama/Makefile << 'END-of-anagramarama/Makefile' X# New ports collection makefile for: games/anagramarama X# Date created: 10 Aug 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= anagramarama XPORTVERSION= 0.2 XCATEGORIES= games XMASTER_SITES= http://www.omega.clara.net/anagramarama/dist/ X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Anagramarama - a word game for Linux, Windows and BeOS X XUSE_GMAKE= yes XUSE_SDL= mixer sdl XUSE_REINPLACE= yes X XMAKEFILE= makefile X XWRKSRC= ${WRKDIR}/${PORTNAME} X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X Xdo-install: X# Program X @${INSTALL_PROGRAM} ${WRKSRC}/ag ${PREFIX}/bin X X# Data X @${MKDIR} ${DATADIR} X X# Data: audio X @${MKDIR} ${DATADIR}/audio X.for f in badword.wav clearword.wav click-answer.wav click-shuffle.wav \ X clock-tick.wav duplicate.wav found.wav foundbig.wav shuffle.wav X @${INSTALL_DATA} ${WRKSRC}/audio/${f} ${DATADIR}/audio X @${MKDIR} ${DATADIR}/images X.endfor X X# Data: images X.for f in background.bmp letterBank.bmp numberBank.bmp smallLetterBank.bmp X @${INSTALL_DATA} ${WRKSRC}/images/${f} ${DATADIR}/images X.endfor X X# Data: wordlist.txt X @${INSTALL_DATA} ${WRKSRC}/wordlist.txt ${DATADIR} X X.include <bsd.port.pre.mk> X Xpost-patch: X# Fix Makefile X @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ X s|\(-Wall\)|${CFLAGS} \1|' \ X ${WRKSRC}/${MAKEFILE} X X# Fix SDL include statement and path to ${DATADIR} X @${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2| ; \ X s|\(audio/\)|${DATADIR}/\1| ; \ X s|\(images/\)|${DATADIR}/\1| ; \ X s|\(wordlist.txt\)|${DATADIR}/\1|' \ X ${WRKSRC}/src/*.c ${WRKSRC}/src/*.h X X# Enable/disable optimized CFLAGS X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|$$(OPT)||' \ X ${WRKSRC}/${MAKEFILE} X.endif X X.include <bsd.port.post.mk> END-of-anagramarama/Makefile echo x - anagramarama/pkg-descr sed 's/^X//' >anagramarama/pkg-descr << 'END-of-anagramarama/pkg-descr' XAnagramarama - a FREE word game for Linux, Windows and BeOS. X XThe aim is to find as many words as possible in the time available. Get the Xlongest word and you'll advance to the next level. X XThree words describe it... X XSimple Addictive Fun X XWWW: http://www.coralquest.com/anagramarama/ X X- Alejandro Pulver Xalejandro@varnet.biz END-of-anagramarama/pkg-descr echo x - anagramarama/pkg-plist sed 's/^X//' >anagramarama/pkg-plist << 'END-of-anagramarama/pkg-plist' Xbin/ag X%%DATADIR%%/audio/badword.wav X%%DATADIR%%/audio/clearword.wav X%%DATADIR%%/audio/click-answer.wav X%%DATADIR%%/audio/click-shuffle.wav X%%DATADIR%%/audio/clock-tick.wav X%%DATADIR%%/audio/duplicate.wav X%%DATADIR%%/audio/found.wav X%%DATADIR%%/audio/foundbig.wav X%%DATADIR%%/audio/shuffle.wav X%%DATADIR%%/images/background.bmp X%%DATADIR%%/images/letterBank.bmp X%%DATADIR%%/images/numberBank.bmp X%%DATADIR%%/images/smallLetterBank.bmp X%%DATADIR%%/wordlist.txt X@dirrm %%DATADIR%%/images X@dirrm %%DATADIR%%/audio X@dirrm %%DATADIR%% END-of-anagramarama/pkg-plist echo c - anagramarama/files mkdir -p anagramarama/files > /dev/null 2>&1 echo x - anagramarama/files/patch-makefile sed 's/^X//' >anagramarama/files/patch-makefile << 'END-of-anagramarama/files/patch-makefile' X--- makefile.orig Mon Jan 27 15:17:54 2003 X+++ makefile Mon Jul 11 13:37:04 2005 X@@ -1,6 +1,6 @@ X-LFLAGS=-Wall -funroll-loops -fomit-frame-pointer -pipe -O9 X-CFLAGS=-Wall `sdl-config --cflags --libs` -funroll-loops -fomit-frame-pointer -pipe -O9 -lSDL_mixer X-CC=gcc X+CFLAGS=-Wall $(OPT) `sdl-config --cflags` X+LFLAGS=`sdl-config --libs` -lSDL_mixer X+OPT=-funroll-loops -fomit-frame-pointer -O3 X X C_FILES=src/dlb.c src/linked.c src/sprite.c src/ag.c X OBJ_FILES=src/dlb.o src/linked.o src/sprite.o src/ag.o X@@ -9,19 +9,19 @@ X all:ag X X ag: $(OBJ_FILES) X- $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES) X+ $(CC) $(LFLAGS) -o $(OUT_FILE) $(OBJ_FILES) X X src/dlb.o: src/dlb.c X- $(CC) $(LFLAGS) -c -o $@ $^ X+ $(CC) $(CFLAGS) -c -o $@ $^ X X src/linked.o: src/linked.c X- $(CC) $(LFLAGS) -c -o $@ $^ X+ $(CC) $(CFLAGS) -c -o $@ $^ X X src/sprite.o: src/sprite.c X- $(CC) $(LFLAGS) -c -o $@ $^ X+ $(CC) $(CFLAGS) -c -o $@ $^ X X src/ag.o: src/ag.c X- $(CC) $(LFLAGS) -c -o $@ $^ X+ $(CC) $(CFLAGS) -c -o $@ $^ X X clean: X rm -f src/*.o END-of-anagramarama/files/patch-makefile exit --- anagramarama.shar ends here ---
State Changed From-To: open->closed New port added, thank you!