Date: Wed, 30 Apr 2014 23:08:06 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352705 - in head/games/netwalk: . files Message-ID: <201404302308.s3UN86JV002328@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Wed Apr 30 23:08:05 2014 New Revision: 352705 URL: http://svnweb.freebsd.org/changeset/ports/352705 QAT: https://qat.redports.org/buildarchive/r352705/ Log: - Strip executable - Add patch, fix build on FreeBSD to not get Error: bin/netwalk is referring to /usr/local/ports/local/In-Review/games/netwalk/work/stage Added: head/games/netwalk/files/ head/games/netwalk/files/patch-Makefile (contents, props changed) Modified: head/games/netwalk/Makefile Modified: head/games/netwalk/Makefile ============================================================================== --- head/games/netwalk/Makefile Wed Apr 30 21:49:00 2014 (r352704) +++ head/games/netwalk/Makefile Wed Apr 30 23:08:05 2014 (r352705) @@ -24,6 +24,7 @@ MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} ALL_TARGET= PORTDOCS= README +OPTIONS_DEFINE= DOCS INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 96x96 128x128 @@ -31,8 +32,6 @@ ICON_SIZES= 32x32 48x48 64x64 96x96 128x DESKTOP_ENTRIES="NetWalk" "" "${PORTNAME}" \ "${PORTNAME}" "Game;LogicGame;" "" -OPTIONS_DEFINE= DOCS - post-patch: @${REINPLACE_CMD} -e \ 's|CC = gcc|CC = ${CC}|; \ @@ -42,6 +41,8 @@ post-patch: ${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 \ Added: head/games/netwalk/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/netwalk/files/patch-Makefile Wed Apr 30 23:08:05 2014 (r352705) @@ -0,0 +1,11 @@ +--- ./Makefile.orig 2013-09-24 07:25:27.000000000 +0200 ++++ ./Makefile 2014-05-01 00:55:15.349700629 +0200 +@@ -23,6 +23,8 @@ + sharedir.h : ./Makefile + ifeq ("$(OS)", "win32") + echo '#define NETWALK_SHARE_DIR "."' > sharedir.h ++else ("$(OS)", "FreeBSD") ++ echo '#define NETWALK_SHARE_DIR "/usr/local/share/netwalk"' > sharedir.h + else + echo '#define NETWALK_SHARE_DIR "'$(PREFIX)'/share/netwalk"' > sharedir.h +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404302308.s3UN86JV002328>