- Update to 0.7.0

- add NO_INSTALL_MANPAGES

PR:	166230
Submitted by:	Hakisho Nukama <nukama@gmail.com>
Approved by:	maintainer, itetcu (mentor)
Feature safe:	yes
This commit is contained in:
Alex Kozlov 2012-03-19 20:14:56 +00:00
parent 07ff3cd47c
commit e5880ee133
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293583
7 changed files with 1228 additions and 961 deletions

View file

@ -6,33 +6,34 @@
#
PORTNAME= gemrb
PORTVERSION= 0.6.2
PORTREVISION= 2
PORTVERSION= 0.7.0
CATEGORIES= games emulators
MASTER_SITES= SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION}%20Sources
MAINTAINER= beyert@cs.ucr.edu
COMMENT= GemRB (Game engine made with preRendered Background)
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis
USE_CMAKE= yes
USE_SDL= sdl mixer
USE_SDL= sdl mixer ttf
USE_OPENAL= al alut
USE_LDCONFIG= yes
USE_PYTHON= 2.5+
USE_PYTHON= 2.6+
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
CMAKE_C_FLAGS= ${CFLAGS}
CMAKE_ARGS= -DDOC_DIR="${LOCALBASE}/share/doc/gemrb" -DMAN_DIR="${LOCALBASE}/man/man6" -DDISABLE_WERROR=1
MAN6= gemrb.6
CMAKE_ARGS= -DDOC_DIR="${DOCSDIR}" -DMAN_DIR="${MAN6PREFIX}/man/man6/" -DDISABLE_WERROR=1 -DINSOURCEBUILD=1
.include <bsd.port.pre.mk>
.if !defined(NO_INSTALL_MANPAGES)
MAN6= gemrb.6
.endif
post-patch:
.if defined(NOPORTDOCS)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-noportdocs-*

View file

@ -1,2 +1,2 @@
SHA256 (gemrb-0.6.2.tar.gz) = 68344f290c015feeba0671da647d6b7541f090dd876622ec1f5d8d07b1e6f927
SIZE (gemrb-0.6.2.tar.gz) = 1726415
SHA256 (gemrb-0.7.0.tar.gz) = b183972901aa3aee7eb8ada5c19d0daa7e21dcdf08d070cdc0c21e01cb78b436
SIZE (gemrb-0.7.0.tar.gz) = 2020563

View file

@ -1,42 +1,9 @@
--- CMakeLists.txt.orig 2010-08-20 10:49:10.000000000 -0700
+++ CMakeLists.txt 2010-09-06 01:23:35.000000000 -0700
@@ -57,7 +57,6 @@
SET_PATH( BIN_DIR ${CMAKE_INSTALL_PREFIX} )
SET_PATH( SYSCONF_DIR ${CMAKE_INSTALL_PREFIX} )
SET_PATH( LIB_DIR ${CMAKE_INSTALL_PREFIX} )
- SET_PATH( DOC_DIR ${CMAKE_INSTALL_PREFIX}/doc )
SET_PATH( ICON_DIR ${CMAKE_INSTALL_PREFIX} )
SET_PATH( MENU_DIR ${CMAKE_INSTALL_PREFIX} )
elseif (${LAYOUT} MATCHES "fhs")
@@ -73,7 +72,6 @@
SET( SYSCONF_DIR ${CMAKE_INSTALL_PREFIX}/etc/gemrb )
endif ()
ENDIF( NOT SYSCONF_DIR )
- SET_PATH( DOC_DIR ${CMAKE_INSTALL_PREFIX}/share/doc/gemrb )
SET_PATH( ICON_DIR ${CMAKE_INSTALL_PREFIX}/share/pixmaps )
SET_PATH( MENU_DIR ${CMAKE_INSTALL_PREFIX}/share/applications )
else (${LAYOUT} MATCHES "opt")
@@ -83,7 +81,6 @@
SET_PATH( MAN_DIR ${CMAKE_INSTALL_PREFIX}/man/man6 )
SET_PATH( BIN_DIR ${CMAKE_INSTALL_PREFIX}/bin )
SET_PATH( SYSCONF_DIR ${CMAKE_INSTALL_PREFIX}/etc )
- SET_PATH( DOC_DIR ${CMAKE_INSTALL_PREFIX}/share/doc/gemrb )
SET_PATH( ICON_DIR ${CMAKE_INSTALL_PREFIX}/share/pixmaps )
SET_PATH( MENU_DIR ${CMAKE_INSTALL_PREFIX}/share/applications )
endif (${LAYOUT} MATCHES "home")
@@ -267,7 +264,6 @@
INSTALL( FILES gemrb.6 DESTINATION ${MAN_DIR} )
INSTALL( FILES artwork/gemrb-logo.png DESTINATION ${ICON_DIR} )
Index: CMakeLists.txt
@@ -342,7 +342,6 @@
INSTALL( FILES artwork/gemrb-logo.png DESTINATION ${ICON_DIR} RENAME gemrb.png )
INSTALL( FILES artwork/logo04-rb_only.svg DESTINATION ${SVG_DIR} RENAME gemrb.svg )
INSTALL( FILES gemrb.desktop DESTINATION ${MENU_DIR} )
-INSTALL( FILES README INSTALL COPYING NEWS AUTHORS DESTINATION ${DOC_DIR} )
INSTALL( FILES admin/extend2da.py DESTINATION ${BIN_DIR}
PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
@@ -303,7 +299,6 @@
message(STATUS " DATA_DIR: ${DATA_DIR}")
message(STATUS " MAN_DIR: ${MAN_DIR}")
message(STATUS " SYSCONF_DIR: ${SYSCONF_DIR}")
-message(STATUS " DOC_DIR: ${DOC_DIR}")
message(STATUS " ICON_DIR: ${ICON_DIR}")
message(STATUS " MENU_DIR: ${MENU_DIR}")
message(STATUS "")

View file

@ -1,10 +1,10 @@
--- gemrb/CMakeLists.txt.orig 2010-08-20 10:49:10.000000000 -0700
+++ gemrb/CMakeLists.txt 2010-09-06 01:40:42.000000000 -0700
@@ -2,7 +2,6 @@
--- gemrb/CMakeLists.txt.orig 2012-03-17 17:21:00.920304897 +0000
+++ gemrb/CMakeLists.txt 2012-03-17 17:21:12.790286421 +0000
@@ -23,7 +23,6 @@ ENDIF(APPLE)
ADD_SUBDIRECTORY( plugins )
ADD_SUBDIRECTORY( override )
ADD_SUBDIRECTORY( GUIScripts )
-ADD_SUBDIRECTORY( docs )
ADD_SUBDIRECTORY( tests )
ADD_EXECUTABLE(gemrb GemRB.cpp )
SET_TARGET_PROPERTIES(gemrb PROPERTIES INSTALL_RPATH ${LIB_DIR})

View file

@ -1,21 +0,0 @@
--- CMakeLists.txt.orig 2010-08-20 10:49:10.000000000 -0700
+++ CMakeLists.txt 2010-09-05 23:18:12.000000000 -0700
@@ -137,18 +137,6 @@
MESSAGE(FATAL_ERROR "Please install the Zlib library and headers first!")
ENDIF()
-IF(UNIX)
- FIND_LIBRARY(DLD_LIBRARY_PATH dl dld)
- IF(DLD_LIBRARY_PATH)
- MESSAGE(STATUS "Looking for dl library: found")
- ELSE(DLD_LIBRARY_PATH)
- MESSAGE(FATAL_ERROR "Looking for dl library: not found!")
- ENDIF(DLD_LIBRARY_PATH)
-
- SET(CMAKE_THREAD_PREFER_PTHREAD true)
- FIND_PACKAGE(Threads REQUIRED)
-ENDIF(UNIX)
-
INCLUDE(FindOpenAL)
IF(OPENAL_FOUND)
MESSAGE(STATUS "Looking for OpenAL: found")

View file

@ -2,4 +2,4 @@ This Game Engine is a port of the original Infinity Engine (the one of
Baldur's Gate, Icewind Dale, Planescape: Torment, etc...) to
Linux/Unix, Mac OS X and Windows with some enhancements.
WWW: http://linux.prinas.si/gemrb
WWW: http://www.gemrb.org/

File diff suppressed because it is too large Load diff