diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-11-26 21:30:05 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-11-26 21:30:05 +0000 |
commit | a49894825115d27e7cb96f1188d9f5c26a7b885f (patch) | |
tree | cff26ab1451fbf9570a57c5e1677f601f6a00deb /games/megaglest | |
parent | 05bed9e35a88c59ead0251a9861eee8fa57c2af4 (diff) | |
download | ports-a49894825115d27e7cb96f1188d9f5c26a7b885f.tar.gz ports-a49894825115d27e7cb96f1188d9f5c26a7b885f.zip |
Notes
Diffstat (limited to 'games/megaglest')
-rw-r--r-- | games/megaglest/Makefile | 25 | ||||
-rw-r--r-- | games/megaglest/distinfo | 4 | ||||
-rw-r--r-- | games/megaglest/files/patch-source-shared_lib-CMakeLists.txt | 11 | ||||
-rw-r--r-- | games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp | 8 |
4 files changed, 28 insertions, 20 deletions
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile index c1266436bae7..8de4185d10a6 100644 --- a/games/megaglest/Makefile +++ b/games/megaglest/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: megaglest -# Date created: 2011-02-10 -# Whom: Sven Moeller <smoeller@nichthelfer.de> -# +# Created by: Sven Moeller <smoeller@nichthelfer.de> # $FreeBSD$ -# PORTNAME= megaglest -PORTVERSION= 3.6.0.3 +PORTVERSION= 3.7.1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}_${PORTVERSION}/ DISTNAME= ${PORTNAME}-source-${PORTVERSION} @@ -14,12 +10,12 @@ DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= rnejdl@ringofsaturn.com COMMENT= Open source 3D real-time strategy game -LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \ - jpeg.11:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \ + jpeg:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png \ - xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \ - ftgl.2:${PORTSDIR}/graphics/ftgl \ - vorbis.4:${PORTSDIR}/audio/libvorbis + xerces-c:${PORTSDIR}/textproc/xerces-c2 \ + ftgl:${PORTSDIR}/graphics/ftgl \ + vorbis:${PORTSDIR}/audio/libvorbis BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:${PORTSDIR}/irc/libircclient \ ${LOCALBASE}/include/miniupnpc/miniupnpc.h:${PORTSDIR}/net/miniupnpc RUN_DEPENDS= ${DATADIR}/tutorials/2_basic_tutorial/2_basic_tutorial.xml:${PORTSDIR}/games/megaglest-data @@ -39,11 +35,12 @@ MAKE_JOBS_SAFE= yes CFLAGS+= -I${LOCALBASE}/include/libpng15 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -OPTIONS= EDITOR "Install MegaGlest Editor" off +OPTIONS_DEFINE= EDITOR +EDITOR_DESC= Install MegaGlest Editor .include <bsd.port.options.mk> -.if defined(WITH_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} PLIST_SUB+= EDITOR="" .else PLIST_SUB+= EDITOR="@comment " @@ -66,7 +63,7 @@ do-install: .for f in AUTHORS.source_code.txt CHANGELOG.txt README.txt COPYRIGHT.source_code.txt ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor -.if defined(WITH_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} ${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/megaglest_editor ${PREFIX}/bin/megaglest_editor .endif diff --git a/games/megaglest/distinfo b/games/megaglest/distinfo index 46ca250c8421..c223f2cf97d7 100644 --- a/games/megaglest/distinfo +++ b/games/megaglest/distinfo @@ -1,2 +1,2 @@ -SHA256 (megaglest-source-3.6.0.3.tar.xz) = 700b1eef534d72fa5efd329445aa085259a87dcea5e739eda629e6c41386b9f7 -SIZE (megaglest-source-3.6.0.3.tar.xz) = 1336432 +SHA256 (megaglest-source-3.7.1.tar.xz) = 0222196c6a274cfd1b5fd074206a6bedcf3da4f343345f3e2682e704f94adc26 +SIZE (megaglest-source-3.7.1.tar.xz) = 1439864 diff --git a/games/megaglest/files/patch-source-shared_lib-CMakeLists.txt b/games/megaglest/files/patch-source-shared_lib-CMakeLists.txt new file mode 100644 index 000000000000..fc37e2657a97 --- /dev/null +++ b/games/megaglest/files/patch-source-shared_lib-CMakeLists.txt @@ -0,0 +1,11 @@ +--- source/shared_lib/CMakeLists.txt.orig 2012-11-25 00:19:10.000000000 +0000 ++++ source/shared_lib/CMakeLists.txt 2012-11-25 00:12:01.000000000 +0000 +@@ -124,7 +124,7 @@ + FIND_PACKAGE(LUA REQUIRED) + INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR}) + IF(UNIX) +- SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${LUA_LIBRARIES} "libdl.so") ++ SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${LUA_LIBRARIES} ${CMAKE_DL_LIBS}) + ENDIF() + # ENDIF() + diff --git a/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp b/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp index c38c0172d74c..bbff0c114c07 100644 --- a/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp +++ b/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp @@ -1,13 +1,13 @@ ---- source/shared_lib/sources/platform/posix/ircclient.cpp 2012-01-23 14:36:15.000000000 -0600 -+++ source/shared_lib/sources/platform/posix/ircclient.cpp.new 2012-06-24 09:51:37.000000000 -0500 +--- source/shared_lib/sources/platform/posix/ircclient.cpp 2012-11-10 03:22:28.000000000 -0600 ++++ source/shared_lib/sources/platform/posix/ircclient.cpp.new 2012-11-20 11:51:10.000000000 -0600 @@ -14,11 +14,7 @@ #include "util.h" #include "platform_common.h" - #include "libircclient.h" + #include <libircclient.h> - -// upstream moved some defines into new headers as of 1.6 -#ifndef LIBIRCCLIENT_PRE1_6 - #include "libirc_rfcnumeric.h" + #include <libirc_rfcnumeric.h> -#endif #include <stdio.h> |