Index: head/games/netwalk/Makefile =================================================================== --- head/games/netwalk/Makefile (revision 550154) +++ head/games/netwalk/Makefile (revision 550155) @@ -1,56 +1,55 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= netwalk PORTVERSION= 0.4.11 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Game where the object is to connect every terminal to the main server LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE +USES= gmake gnome iconv sdl xorg USE_GITHUB= yes GH_ACCOUNT= blynn GH_TAGNAME= cb6b089 - -USES= gmake gnome iconv sdl xorg +INSTALLS_ICONS= yes USE_SDL= sdl ttf USE_XORG= x11 xau xdmcp + MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} ALL_TARGET= +DESKTOP_ENTRIES="NetWalk" "" "${PORTNAME}" "${PORTNAME}" "Game;LogicGame;" "" + PORTDOCS= README OPTIONS_DEFINE= DOCS -INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 96x96 128x128 -DESKTOP_ENTRIES="NetWalk" "" "${PORTNAME}" \ - "${PORTNAME}" "Game;LogicGame;" "" - -post-patch: +pre-build: @${REINPLACE_CMD} -e \ 's|CC = gcc|CC = ${CC}|; \ s|CFLAGS=-Wall -O2 -fomit-frame-pointer|CFLAGS+= -fomit-frame-pointer|; \ s|sdl-config|${SDL_CONFIG}|; \ s|PREFIX = /usr|PREFIX = ${PREFIX}|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ ${INSTALL_DATA} ${WRKSRC}/icons/${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/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/games/netwalk/files/patch-Makefile =================================================================== --- head/games/netwalk/files/patch-Makefile (revision 550154) +++ head/games/netwalk/files/patch-Makefile (revision 550155) @@ -1,11 +1,11 @@ ---- ./Makefile.orig 2013-09-24 07:25:27.000000000 +0200 -+++ ./Makefile 2014-05-12 21:10:05.000000000 +0200 -@@ -24,7 +24,7 @@ +--- Makefile.orig 2013-09-24 05:25:27 UTC ++++ Makefile +@@ -24,7 +24,7 @@ sharedir.h : ./Makefile ifeq ("$(OS)", "win32") echo '#define NETWALK_SHARE_DIR "."' > sharedir.h else - echo '#define NETWALK_SHARE_DIR "'$(PREFIX)'/share/netwalk"' > sharedir.h + echo '#define NETWALK_SHARE_DIR "/usr/local/share/netwalk"' > sharedir.h endif version.h : ./Makefile Index: head/games/netwalk/files/patch-main.c =================================================================== --- head/games/netwalk/files/patch-main.c (nonexistent) +++ head/games/netwalk/files/patch-main.c (revision 550155) @@ -0,0 +1,11 @@ +--- main.c.orig 2013-09-24 05:25:27 UTC ++++ main.c +@@ -107,7 +107,7 @@ SDL_Surface *screen; + TTF_Font *font; + int lastmousex, lastmousey; + char *player_name; +-int game_won; ++extern int game_won; + int state; + + struct button_s { Property changes on: head/games/netwalk/files/patch-main.c ___________________________________________________________________ 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