1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Support STAGEDIR

- Convert to new LIB_DEPENDS syntax
- Update to 0.8.0.1 [1]

PR:	ports/184077 (based on) [1]
Submitted by:		Timothy Beyer <beyert@cs.ucr.edu> (maintainer) [1]
This commit is contained in:
Alex Kozlov 2013-11-23 13:16:59 +00:00
parent 30ca31e0f3
commit c885de11ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334665
3 changed files with 7 additions and 34 deletions

View File

@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= gemrb
PORTVERSION= 0.8.0
PORTVERSION= 0.8.0.1
CATEGORIES= games emulators
MASTER_SITES= SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION}%20Sources
MASTER_SITES= SF/${PORTNAME}/GemRB%20Sources/GemRB%20${PORTVERSION:.1=}%20Sources
MAINTAINER= beyert@cs.ucr.edu
COMMENT= GemRB (Game engine made with preRendered Background)
@ -12,8 +12,8 @@ COMMENT= GemRB (Game engine made with preRendered Background)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
vorbis:${PORTSDIR}/audio/libvorbis
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libvorbis.so:${PORTSDIR}/audio/libvorbis
USES= cmake
USE_SDL= sdl mixer ttf
@ -24,32 +24,4 @@ CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include
CMAKE_C_FLAGS= ${CFLAGS}
CMAKE_ARGS= -DDOC_DIR="${DOCSDIR}" -DMAN_DIR="${MAN6PREFIX}/man/man6/" -DDISABLE_WERROR=1 -DINSOURCEBUILD=1
NO_STAGE= yes
.include <bsd.port.options.mk>
MAN6= gemrb.6
post-patch:
@${REINPLACE_CMD} \
-e '/^ADD_SUBDIRECTORY( VLCPlayer )/d' \
${WRKSRC}/gemrb/plugins/CMakeLists.txt
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} \
-e '/^INSTALL( FILES README INSTALL COPYING NEWS AUTHORS DESTINATION \$${DOC_DIR} )/d' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} \
-e '/^ADD_SUBDIRECTORY( docs )/d' \
${WRKSRC}/gemrb/CMakeLists.txt
@${REINPLACE_CMD} \
-e '/^ADD_SUBDIRECTORY( en )/d' \
${WRKSRC}/gemrb/docs/CMakeLists.txt
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/gemrb.cfg ]; then \
${CP} ${WRKSRC}/gemrb/GemRB.cfg.sample ${PREFIX}/etc/gemrb.cfg; \
fi
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gemrb-0.8.0.tar.gz) = 085af5d20e5ac4d587b3f26bb3878a0a5478e3ef8b317c4907d298c3aae1de29
SIZE (gemrb-0.8.0.tar.gz) = 12231959
SHA256 (gemrb-0.8.0.1.tar.gz) = 4d4fb00b09789c6de7e0959e7d7a1ccf6fc2aa6d0c86c4a6b35c45a2e9f5316d
SIZE (gemrb-0.8.0.1.tar.gz) = 12303524

View File

@ -48,6 +48,7 @@ lib/gemrb/plugins/WAVReader.so
lib/gemrb/plugins/WEDImporter.so
lib/gemrb/plugins/WMPImporter.so
lib/gemrb/plugins/ZLibManager.so
man/man6/gemrb.6.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/COPYING