Index: head/games/stransball2/Makefile =================================================================== --- head/games/stransball2/Makefile (revision 469958) +++ head/games/stransball2/Makefile (revision 469959) @@ -1,44 +1,49 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= stransball2 PORTVERSION= 1.5 PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \ http://braingames.bugreport.nl/stransball2/ DISTNAME= ${PORTNAME}-v${PORTVERSION:C/\.//}-linux MAINTAINER= amdmi3@FreeBSD.org COMMENT= Sequel to Transball and Transball 2 THRUST-type games +LICENSE= GPLv2 +LICENSE_FILE= ${BUILD_WRKSRC}/LICENSE + LIB_DEPENDS= libSGE.so:devel/sdl_sge USES= gmake dos2unix zip -DOS2UNIX_FILES= sources/main.cpp +DOS2UNIX_FILES= sources/main.cpp sources/auxiliar.cpp USE_SDL= sdl image mixer sound BUILD_WRKSRC= ${WRKSRC}/sources PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-extract: @${RM} ${WRKSRC}/sound/WS_FTP.LOG post-patch: @${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} \ -e 's|demos/|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \ s|maps/|${DATADIR}/&|g; s|sound/|${DATADIR}/&|g; \ s|"maps"|"${DATADIR}/maps"|g' do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/stransball2/files/patch-sources_auxiliar.cpp =================================================================== --- head/games/stransball2/files/patch-sources_auxiliar.cpp (nonexistent) +++ head/games/stransball2/files/patch-sources_auxiliar.cpp (revision 469959) @@ -0,0 +1,11 @@ +--- sources/auxiliar.cpp.orig 2018-05-14 19:20:42 UTC ++++ sources/auxiliar.cpp +@@ -48,7 +48,7 @@ SDL_Surface *load_maskedimage(char *imag + mask=IMG_Load(name); + + if (tmp==0 || +- mask==0) return false; ++ mask==0) return NULL; + + res=SDL_DisplayFormatAlpha(tmp); + Property changes on: head/games/stransball2/files/patch-sources_auxiliar.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