Index: head/games/galaxyhack/Makefile =================================================================== --- head/games/galaxyhack/Makefile (revision 159892) +++ head/games/galaxyhack/Makefile (revision 159893) @@ -1,84 +1,63 @@ # New ports collection makefile for: galaxyhack # Date created: 10 Aug 2005 # Whom: Alejandro Pulver # # $FreeBSD$ # PORTNAME= galaxyhack -PORTVERSION= 1.55.2 +PORTVERSION= 1.62 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} \ - ${PORTNAME}-1.5-data${EXTRACT_SUFX} + ${PORTNAME}-1.61-data${EXTRACT_SUFX} MAINTAINER= alepulver@FreeBSD.org COMMENT= AI script based strategy game LIB_DEPENDS= boost_filesystem.3:${PORTSDIR}/devel/boost \ freetype.9:${PORTSDIR}/print/freetype2 WRKSRC= ${WRKDIR}/src USE_BZIP2= yes +USE_DOS2UNIX= yes USE_GMAKE= yes USE_SDL= gfx image mixer sdl -USE_REINPLACE= yes OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on ALL_TARGET= ${PORTNAME} - SUB_FILES= ${PORTNAME}-sh - DATADIRS= graphics fleets music gamedata standardpictures -post-extract: -# Remove CVS directories - @${FIND} ${WRKDIR}/${PORTNAME} -type d -name CVS -print0 | \ - ${XARGS} -0 ${RM} -rf - -# Convert DOS text files to UNIX - @${FIND} -E ${WRKSRC} -type f -iregex "(.*Makefile.*|.*\.(cpp|h))" -print0 | \ - ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' - do-install: -# Script - @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME} - -# Program - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec - -# Data - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/settings.dat ${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/settings.dat ${DATADIR} .for d in ${DATADIRS} - @${CP} -R ${WRKDIR}/${PORTNAME}/${d} ${DATADIR} + ${CP} -R ${WRKDIR}/${PORTNAME}/${d} ${DATADIR} .endfor post-install: -# Fix permissions +# Fix permissions. @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} @${FIND} ${DATADIR} -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} @${FIND} ${DATADIR} -type d -print0 | \ ${XARGS} -0 ${CHMOD} ${BINMODE} .include .if ${ARCH} == "i386" && ${OSVERSION} < 500000 -BROKEN= "Does not compile on < 5.x" +IGNORE= does not compile on FreeBSD < 5.X .endif -post-patch: -# Fix Makefile - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' \ - ${WRKSRC}/${MAKEFILE} - -# Enable/disable compilation optimizations -.if !defined(WITH_OPTIMIZED_CFLAGS) - @${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/${MAKEFILE} +# Enable/disable compilation optimizations. +.if !defined(WITHOUT_OPTIMIZED_CFLAGS) +MAKE_ENV+= OPTIMIZED_CFLAGS=-O3 .endif .include Property changes on: head/games/galaxyhack/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/games/galaxyhack/distinfo =================================================================== --- head/games/galaxyhack/distinfo (revision 159892) +++ head/games/galaxyhack/distinfo (revision 159893) @@ -1,6 +1,6 @@ -MD5 (galaxyhack-1.55.2-src.tar.bz2) = 6f6e83ea38780809d5383d0d30f41926 -SHA256 (galaxyhack-1.55.2-src.tar.bz2) = 0b70494db605e38339c059ab2a70fc32bc51b1980ec554c6e6c3813c2ef0b3f1 -SIZE (galaxyhack-1.55.2-src.tar.bz2) = 75107 -MD5 (galaxyhack-1.5-data.tar.bz2) = 8848e5319c1fdcb3ccb62fe5dc1ab164 -SHA256 (galaxyhack-1.5-data.tar.bz2) = 328037ee7202538c6698f93d570ba6e0cf6cdc92c86e24f4354b03a226c271f0 -SIZE (galaxyhack-1.5-data.tar.bz2) = 9838488 +MD5 (galaxyhack-1.62-src.tar.bz2) = ac13d8ca6d33cea012c2f5cd3aa8e652 +SHA256 (galaxyhack-1.62-src.tar.bz2) = abd3bc7061c1df23e50f208956c3e0e05d444b3c1bf33c47982f8d141171fed7 +SIZE (galaxyhack-1.62-src.tar.bz2) = 77817 +MD5 (galaxyhack-1.61-data.tar.bz2) = b9e8736dd51be8729fdd7e8ebca6c8d0 +SHA256 (galaxyhack-1.61-data.tar.bz2) = df8b1887e2f8b71d1742a6dadd1e6fd25227a9fd56468f5ef1c5416ef03d4831 +SIZE (galaxyhack-1.61-data.tar.bz2) = 9837126 Property changes on: head/games/galaxyhack/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/games/galaxyhack/files/patch-Makefile =================================================================== --- head/games/galaxyhack/files/patch-Makefile (revision 159892) +++ head/games/galaxyhack/files/patch-Makefile (revision 159893) @@ -1,15 +1,20 @@ ---- Makefile.orig Sat May 7 05:50:48 2005 -+++ Makefile Sun Oct 9 12:45:33 2005 -@@ -9,10 +9,9 @@ - INSTALL_DIR=/usr/local/share - INSTALL_BIN_DIR=/usr/local/bin +--- Makefile.orig Thu Apr 13 19:11:17 2006 ++++ Makefile Thu Apr 13 19:15:06 2006 +@@ -6,13 +6,11 @@ + # James Gregory and Everton da Silva Marques + # +-INSTALL_DIR=/usr/local/share +-INSTALL_BIN_DIR=/usr/local/bin ++INSTALL_DIR=$(PREFIX)/share ++INSTALL_BIN_DIR=$(PREFIX)/bin + -CXX = g++ -CXXFLAGS = $(shell sdl-config --cflags) -O3 -+CXXFLAGS = $(CFLAGS) -O3 $(shell sdl-config --cflags) $(shell freetype-config --cflags) - DEFINES = -D__linux__ +-DEFINES = -D__linux__ -LDFLAGS = $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lSDL_gfx -lboost_filesystem -+LDFLAGS = $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lSDL_gfx -lboost_filesystem $(shell freetype-config --libs) ++CXXFLAGS = $(CFLAGS) $(OPTIMIZED_CFLAGS) $(shell $(SDL_CONFIG) --cflags) ++LDFLAGS += $(shell $(SDL_CONFIG) --libs) -lSDL_image -lSDL_mixer -lSDL_gfx -lboost_filesystem $(shell freetype-config --libs) OBJS = AIInterpreter.o AutoFireUnit.o BCCompiler.o DerivedGroups.o DragWindow.o \ ForceSelect.o ForceSelectWin.o GenWindow.o GenWindow_Base.o Globals.o \ Property changes on: head/games/galaxyhack/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/games/galaxyhack/pkg-plist =================================================================== --- head/games/galaxyhack/pkg-plist (revision 159892) +++ head/games/galaxyhack/pkg-plist (revision 159893) @@ -1,129 +1,127 @@ bin/galaxyhack libexec/galaxyhack -%%DATADIR%%/settings.dat %%DATADIR%%/fleets/Morennians/Moravator.dat %%DATADIR%%/fleets/Morennians/Morennian Corvette.dat %%DATADIR%%/fleets/Morennians/Morennians.dat %%DATADIR%%/fleets/Morennians/X-Fighter.dat %%DATADIR%%/fleets/Morennians/attackcapship.ai %%DATADIR%%/fleets/Morennians/moveandfire.ai -%%DATADIR%%/fleets/Morennians/movetocapship.ai -%%DATADIR%%/fleets/Morennians/movetoslow.ai %%DATADIR%%/fleets/Zenennians/Damascus.dat %%DATADIR%%/fleets/Zenennians/Emperor.dat %%DATADIR%%/fleets/Zenennians/Solar Cruiser.dat %%DATADIR%%/fleets/Zenennians/Zenennians.dat %%DATADIR%%/fleets/Zenennians/patrolandattack.ai %%DATADIR%%/gamedata/equip.dat %%DATADIR%%/graphics/boldfont.png %%DATADIR%%/graphics/csexplode10.png %%DATADIR%%/graphics/csexplode2.png %%DATADIR%%/graphics/csexplode3.png %%DATADIR%%/graphics/csexplode4.png %%DATADIR%%/graphics/csexplode5.png %%DATADIR%%/graphics/csexplode6.png %%DATADIR%%/graphics/csexplode7.png %%DATADIR%%/graphics/csexplode8.png %%DATADIR%%/graphics/csexplode9.png %%DATADIR%%/graphics/cursor1.png %%DATADIR%%/graphics/frexplode2.png %%DATADIR%%/graphics/frexplode3.png %%DATADIR%%/graphics/frexplode4.png %%DATADIR%%/graphics/frexplode5.png %%DATADIR%%/graphics/frexplode6.png %%DATADIR%%/graphics/frexplode7.png %%DATADIR%%/graphics/frexplode8.png %%DATADIR%%/graphics/normalfont.png %%DATADIR%%/graphics/spacetile.png %%DATADIR%%/graphics/spacetile2.png %%DATADIR%%/graphics/ssexplode3.png %%DATADIR%%/graphics/ssexplode4.png %%DATADIR%%/graphics/ssexplode5.png %%DATADIR%%/graphics/ssexplode6.png %%DATADIR%%/graphics/ssexplode7.png %%DATADIR%%/graphics/ssexplode8.png %%DATADIR%%/graphics/title.png %%DATADIR%%/graphics/windowclose.png %%DATADIR%%/music/11radsat.it %%DATADIR%%/music/corruptor.ogg %%DATADIR%%/music/fission.ogg +%%DATADIR%%/settings.dat %%DATADIR%%/standardpictures/blue/capship/kasper-capital-1.png %%DATADIR%%/standardpictures/blue/capship/kasper-capital-2.png %%DATADIR%%/standardpictures/blue/capship/kasper-capital-3.png %%DATADIR%%/standardpictures/blue/capship/kpovieta_cp1.png %%DATADIR%%/standardpictures/blue/frigate/kasper-frigate-1.png %%DATADIR%%/standardpictures/blue/frigate/kasper-frigate-2.png %%DATADIR%%/standardpictures/blue/frigate/kasper-frigate-3.png %%DATADIR%%/standardpictures/blue/frigate/kpovieta_fr1.png %%DATADIR%%/standardpictures/blue/smallship/kasper-ss-1.png %%DATADIR%%/standardpictures/blue/smallship/kasper-ss-2.png %%DATADIR%%/standardpictures/blue/smallship/kasper-ss-3.png %%DATADIR%%/standardpictures/blue/smallship/kpovieta_ft1.png %%DATADIR%%/standardpictures/blue/smallship/ss1-hshape-j.png %%DATADIR%%/standardpictures/blue/smallship/ss2-xshape-j.png %%DATADIR%%/standardpictures/green/capship/kasper-capital-1.png %%DATADIR%%/standardpictures/green/capship/kasper-capital-2.png %%DATADIR%%/standardpictures/green/capship/kasper-capital-3.png %%DATADIR%%/standardpictures/green/capship/kpovieta_cp1.png %%DATADIR%%/standardpictures/green/frigate/kasper-frigate-1.png %%DATADIR%%/standardpictures/green/frigate/kasper-frigate-2.png %%DATADIR%%/standardpictures/green/frigate/kasper-frigate-3.png %%DATADIR%%/standardpictures/green/frigate/kpovieta_fr1.png %%DATADIR%%/standardpictures/green/smallship/kasper-ss-1.png %%DATADIR%%/standardpictures/green/smallship/kasper-ss-2.png %%DATADIR%%/standardpictures/green/smallship/kasper-ss-3.png %%DATADIR%%/standardpictures/green/smallship/kpovieta_ft1.png %%DATADIR%%/standardpictures/green/smallship/ss1-hshape-j.png %%DATADIR%%/standardpictures/green/smallship/ss2-xshape-j.png %%DATADIR%%/standardpictures/red/capship/kasper-capital-1.png %%DATADIR%%/standardpictures/red/capship/kasper-capital-2.png %%DATADIR%%/standardpictures/red/capship/kasper-capital-3.png %%DATADIR%%/standardpictures/red/capship/kpovieta_cp1.png %%DATADIR%%/standardpictures/red/frigate/kasper-frigate-1.png %%DATADIR%%/standardpictures/red/frigate/kasper-frigate-2.png %%DATADIR%%/standardpictures/red/frigate/kasper-frigate-3.png %%DATADIR%%/standardpictures/red/frigate/kpovieta_fr1.png %%DATADIR%%/standardpictures/red/smallship/kasper-ss-1.png %%DATADIR%%/standardpictures/red/smallship/kasper-ss-2.png %%DATADIR%%/standardpictures/red/smallship/kasper-ss-3.png %%DATADIR%%/standardpictures/red/smallship/kpovieta_ft1.png %%DATADIR%%/standardpictures/red/smallship/ss1-hshape-j.png %%DATADIR%%/standardpictures/red/smallship/ss2-xshape-j.png %%DATADIR%%/standardpictures/yellow/capship/kasper-capital-1.png %%DATADIR%%/standardpictures/yellow/capship/kasper-capital-2.png %%DATADIR%%/standardpictures/yellow/capship/kasper-capital-3.png %%DATADIR%%/standardpictures/yellow/capship/kpovieta_cp1.png %%DATADIR%%/standardpictures/yellow/frigate/kasper-frigate-1.png %%DATADIR%%/standardpictures/yellow/frigate/kasper-frigate-2.png %%DATADIR%%/standardpictures/yellow/frigate/kasper-frigate-3.png %%DATADIR%%/standardpictures/yellow/frigate/kpovieta_fr1.png %%DATADIR%%/standardpictures/yellow/smallship/kasper-ss-1.png %%DATADIR%%/standardpictures/yellow/smallship/kasper-ss-2.png %%DATADIR%%/standardpictures/yellow/smallship/kasper-ss-3.png %%DATADIR%%/standardpictures/yellow/smallship/kpovieta_ft1.png %%DATADIR%%/standardpictures/yellow/smallship/ss1-hshape-j.png %%DATADIR%%/standardpictures/yellow/smallship/ss2-xshape-j.png @dirrm %%DATADIR%%/standardpictures/yellow/smallship @dirrm %%DATADIR%%/standardpictures/yellow/frigate @dirrm %%DATADIR%%/standardpictures/yellow/capship @dirrm %%DATADIR%%/standardpictures/yellow @dirrm %%DATADIR%%/standardpictures/red/smallship @dirrm %%DATADIR%%/standardpictures/red/frigate @dirrm %%DATADIR%%/standardpictures/red/capship @dirrm %%DATADIR%%/standardpictures/red @dirrm %%DATADIR%%/standardpictures/green/smallship @dirrm %%DATADIR%%/standardpictures/green/frigate @dirrm %%DATADIR%%/standardpictures/green/capship @dirrm %%DATADIR%%/standardpictures/green @dirrm %%DATADIR%%/standardpictures/blue/smallship @dirrm %%DATADIR%%/standardpictures/blue/frigate @dirrm %%DATADIR%%/standardpictures/blue/capship @dirrm %%DATADIR%%/standardpictures/blue @dirrm %%DATADIR%%/standardpictures @dirrm %%DATADIR%%/music @dirrm %%DATADIR%%/graphics @dirrm %%DATADIR%%/gamedata @dirrm %%DATADIR%%/fleets/Zenennians @dirrm %%DATADIR%%/fleets/Morennians @dirrm %%DATADIR%%/fleets @dirrm %%DATADIR%% Property changes on: head/games/galaxyhack/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property