Date: Mon, 6 Jan 2014 15:23:31 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338898 - in head/games/el: . files Message-ID: <201401061523.s06FNVYJ007686@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Mon Jan 6 15:23:30 2014 New Revision: 338898 URL: http://svnweb.freebsd.org/changeset/ports/338898 Log: - Update to 193 to be able to connect to the servers again - Repack distribution file, reroll/simplify patches. The original host is gone, and there is no obvious replacement for the distribution file, so roll our own from the referenced git repository: git://git.berlios.de/elc branch master, commit 86780d5dd43b3c9b66fa014944cf1811fa78d161 - Stagify - Strip library versions [1] Submitted by: portlint [1] Approved by: acm (implicit) Modified: head/games/el/Makefile head/games/el/distinfo head/games/el/files/patch-Makefile.bsd head/games/el/files/patch-make.defaults head/games/el/files/patch-platform.h Modified: head/games/el/Makefile ============================================================================== --- head/games/el/Makefile Mon Jan 6 15:23:11 2014 (r338897) +++ head/games/el/Makefile Mon Jan 6 15:23:30 2014 (r338898) @@ -2,23 +2,20 @@ # $FreeBSD$ PORTNAME= el -PORTVERSION= 192 -PORTREVISION= 3 +PORTVERSION= 193 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ - ${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} -DIST_SUBDIR= ${PORTNAME} +MASTER_SITES= LOCAL/rene \ + ftp://rene-ladan.nl/pub/distfiles/ MAINTAINER= acm@FreeBSD.org COMMENT= Eternal Lands is a free 3D MMORPG LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ - libvorbis.so.4:${PORTSDIR}/audio/libvorbis \ - libcal3d.so.12:${PORTSDIR}/graphics/cal3d + libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libcal3d.so:${PORTSDIR}/graphics/cal3d RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:${PORTSDIR}/games/el-data -PROJECTHOST= bsdistfiles -USE_BZIP2= yes +USE_XZ= yes USES= gmake openal:al,alut USE_GNOME= libxml2 USE_SDL= sdl net image @@ -29,7 +26,6 @@ ALL_TARGET= el.bin MAKEFILE= Makefile.bsd PLIST= ${WRKDIR}/pkg-plist -NO_STAGE= yes .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" @@ -46,8 +42,8 @@ pre-install: @${ECHO} "@dirrmtry %%DATADIR%%" >> ${PLIST} do-install: - @${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/el ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/el ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${STAGEDIR}${DATADIR} .include <bsd.port.post.mk> Modified: head/games/el/distinfo ============================================================================== --- head/games/el/distinfo Mon Jan 6 15:23:11 2014 (r338897) +++ head/games/el/distinfo Mon Jan 6 15:23:30 2014 (r338898) @@ -1,2 +1,2 @@ -SHA256 (el/el-192.tar.bz2) = 0a88f38642d1a05c7b533101201b80632af398cb0bdc616d2d33115e0689cb13 -SIZE (el/el-192.tar.bz2) = 2181980 +SHA256 (el-193.tar.xz) = d8b815a1c1169102ed3fbd440b66afc90fa78589f8e49c4ebd1c31addc0021d0 +SIZE (el-193.tar.xz) = 1941152 Modified: head/games/el/files/patch-Makefile.bsd ============================================================================== --- head/games/el/files/patch-Makefile.bsd Mon Jan 6 15:23:11 2014 (r338897) +++ head/games/el/files/patch-Makefile.bsd Mon Jan 6 15:23:30 2014 (r338898) @@ -1,5 +1,5 @@ ---- Makefile.bsd.orig 2011-10-20 11:30:54.000000000 -0500 -+++ Makefile.bsd 2011-10-20 11:40:50.000000000 -0500 +--- Makefile.bsd.orig 2014-01-06 15:25:15.000000000 +0100 ++++ Makefile.bsd 2014-01-06 15:49:31.000000000 +0100 @@ -2,17 +2,19 @@ -include make.conf @@ -12,21 +12,21 @@ -_CFLAGS=$(PLATFORM) -O2 -fomit-frame-pointer -ffast-math -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) -CXXFLAGS=$(PLATFORM) $(CXXWARN) -O0 -ggdb -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) -_CXXFLAGS=$(PLATFORM) -O3 -fomit-frame-pointer -ffast-math -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) -+CFLAGS+=$(CWARN) $(OPTIONS) `$(SDL_CONFIG) --cflags` $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) -+_CFLAGS=-fomit-frame-pointer -ffast-math -pipe $(OPTIONS) `$(SDL_CONFIG) --cflags` $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) -+CXXFLAGS+=$(CXXWARN) $(OPTIONS) `$(SDL_CONFIG) --cflags` $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) -+_CXXFLAGS=-fomit-frame-pointer -ffast-math $(OPTIONS) `$(SDL_CONFIG) --cflags` $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) ++CFLAGS+=$(PLATFORM) $(CWARN) $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) ++_CFLAGS=-fomit-frame-pointer -ffast-math -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) ++CXXFLAGS+=$(CXXWARN) $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) ++_CXXFLAGS=-fomit-frame-pointer -ffast-math $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES) PNG_SCREENSHOT_LIBS = -lpng -LDFLAGS=$(shell sdl-config --libs) $(shell xml2-config --libs) -lSDL_net -lSDL_image -lopenal $(XDIR) -lGL -lGLU -lcal3d -lm $(EXTRA_LIBS) -lz -lpng -lvorbis -lvorbisfile \ -+LDFLAGS+=`$(SDL_CONFIG) --libs` $(shell xml2-config --libs) -lSDL_net -lSDL_image -lopenal $(XDIR) -lGL -lGLU -lcal3d -lm $(EXTRA_LIBS) -lz -lpng -lvorbis -lvorbisfile \ ++LDFLAGS+=$(shell sdl-config --libs) $(shell xml2-config --libs) -lSDL_net -lSDL_image -lopenal $(XDIR) -lGL -lGLU -lcal3d -lm $(EXTRA_LIBS) -lz -lpng -lvorbis -lvorbisfile \ $(foreach FEATURE, $(FEATURES), $($(FEATURE)_LIBS)) -_LDFLAGS=$(XDIR) -lGL -lpthread -lstdc++ +_LDFLAGS=$(XDIR) -lGL -pthread -lstdc++ # This works on Ubuntu 8.04 (LTS) at least # Install these packages in addition to those required for a standard build -@@ -87,16 +89,16 @@ +@@ -86,16 +88,16 @@ DEP_FILES=$(foreach OBJ, $(COBJS), .deps/$(OBJ).P) $(foreach OBJ, $(CXXOBJS), .deps/$(OBJ).P) #(shell echo $OBJ |sed s/\.o/\.P/)) Modified: head/games/el/files/patch-make.defaults ============================================================================== --- head/games/el/files/patch-make.defaults Mon Jan 6 15:23:11 2014 (r338897) +++ head/games/el/files/patch-make.defaults Mon Jan 6 15:23:30 2014 (r338898) @@ -1,15 +1,15 @@ ---- make.defaults.orig 2011-10-20 11:41:47.000000000 -0500 -+++ make.defaults 2011-10-20 11:42:04.000000000 -0500 -@@ -65,8 +65,6 @@ +--- make.defaults.orig ++++ make.defaults +@@ -69,8 +69,6 @@ FEATURES += MIDDLE_MOUSE_PASTE # Paste using the middle mouse button from the pr --PLATFORM=-march=i686 +-PLATFORM=-march=native -XDIR=-L/usr/X11R6/lib CWARN=-Wall -Wdeclaration-after-statement # -Wno-pointer-sign -Wno-sign-compare -Werror CXXWARN=-Wall -@@ -82,7 +80,3 @@ +@@ -86,7 +84,3 @@ CXXWARN=-Wall #EXTRA_INCLUDES=-IC:\\Programme\\Dev-Cpp\\Include #EXTRA_LIBS=-lz #EXTRA_STATICLIBS=libs/zlib.a Modified: head/games/el/files/patch-platform.h ============================================================================== --- head/games/el/files/patch-platform.h Mon Jan 6 15:23:11 2014 (r338897) +++ head/games/el/files/patch-platform.h Mon Jan 6 15:23:30 2014 (r338898) @@ -1,5 +1,5 @@ ---- platform.h 2009-01-20 09:51:39.000000000 -0500 -+++ platform.h 2009-01-20 09:51:58.000000000 -0500 +--- platform.h.orig ++++ platform.h @@ -11,7 +11,7 @@ // http://predef.sourceforge.net/prearch.html , these ought to work on // gcc, Sun Studio and Visual Studio.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401061523.s06FNVYJ007686>