From owner-svn-ports-all@FreeBSD.ORG Wed Apr 30 23:08:06 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7045E2F; Wed, 30 Apr 2014 23:08:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB6D012DC; Wed, 30 Apr 2014 23:08:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3UN86cv002330; Wed, 30 Apr 2014 23:08:06 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3UN86JV002328; Wed, 30 Apr 2014 23:08:06 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201404302308.s3UN86JV002328@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 30 Apr 2014 23:08:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352705 - in head/games/netwalk: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2014 23:08:07 -0000 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 +