Index: head/games/holotz-castle/Makefile =================================================================== --- head/games/holotz-castle/Makefile (revision 432974) +++ head/games/holotz-castle/Makefile (revision 432975) @@ -1,73 +1,73 @@ # Created by: Pierre-Paul Lavoie # $FreeBSD$ PORTNAME= holotz-castle PORTVERSION= 1.3.14 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Platform game with high doses of mystery LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src USES= gmake desthack USE_GL= gl USE_SDL= image mixer sdl ttf MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ \ HC_BIN_DIR=${PREFIX}/bin/ MAKE_JOBS_UNSAFE= yes INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 SUB_FILES= pkg-message ${PORTNAME}-solutions PORTDATA= * OPTIONS_DEFINE= SOLUTIONS OPTIONS_DEFAULT=SOLUTIONS SOLUTIONS_DESC= Solutions for Holotz's Castle OPTIONS_SUB= yes SOLUTIONS_RUN_DEPENDS= mplayer:multimedia/mplayer .include .if ${PORT_OPTIONS:MSOLUTIONS} DISTFILES+= ${PORTNAME}_solutions${EXTRACT_SUFX} EXTRACT_ONLY+= ${PORTNAME}_solutions${EXTRACT_SUFX} .endif post-install: .for f in ${PORTNAME} ${PORTNAME}-editor (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${f} ${STAGEDIR}${PREFIX}/bin/) .endfor .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} (cd ${WRKSRC}/man && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/) .if ${PORT_OPTIONS:MSOLUTIONS} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop \ ${STAGEDIR}${DESKTOPDIR} @${MKDIR} ${STAGEDIR}${DATADIR}/solutions @(cd ${WRKDIR} && ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions) .endif .include Index: head/games/holotz-castle/files/patch-JLib_JLib_Util_JTextFile.cpp =================================================================== --- head/games/holotz-castle/files/patch-JLib_JLib_Util_JTextFile.cpp (nonexistent) +++ head/games/holotz-castle/files/patch-JLib_JLib_Util_JTextFile.cpp (revision 432975) @@ -0,0 +1,29 @@ +--- JLib/JLib/Util/JTextFile.cpp.orig 2009-05-02 09:17:15 UTC ++++ JLib/JLib/Util/JTextFile.cpp +@@ -145,7 +145,7 @@ bool JTextFile::FindNext(const s8 *str, + + tmp = strstr(ptr, str); + +- if (tmp > 0) ++ if (tmp) + ptr = tmp; + else + { +@@ -153,7 +153,7 @@ bool JTextFile::FindNext(const s8 *str, + { + tmp = strstr(buff, str); + +- if (tmp > 0) ++ if (tmp) + ptr = tmp; + else + return false; +@@ -233,7 +233,7 @@ bool JTextFile::ReadQuotedWord(s8 *str) + ++ptr; + end = ptr; + +- if (0 >= (end = strstr(ptr, "\""))) ++ if ((end = strstr(ptr, "\""))) + { + // No hay comillas de cierre + ptr = org; Property changes on: head/games/holotz-castle/files/patch-JLib_JLib_Util_JTextFile.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property