From owner-svn-ports-all@FreeBSD.ORG Tue Aug 28 01:06:56 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A305C1065675; Tue, 28 Aug 2012 01:06:56 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2EA8FC12; Tue, 28 Aug 2012 01:06:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7S16ul8085534; Tue, 28 Aug 2012 01:06:56 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7S16uKD085532; Tue, 28 Aug 2012 01:06:56 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201208280106.q7S16uKD085532@svn.freebsd.org> From: Jason Helfman Date: Tue, 28 Aug 2012 01:06:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303267 - head/games/sdl_scavenger X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 28 Aug 2012 01:06:56 -0000 Author: jgh Date: Tue Aug 28 01:06:56 2012 New Revision: 303267 URL: http://svn.freebsd.org/changeset/ports/303267 Log: - adopt optionsNG for DOCS - use INSTALL_DATA over CP PR: 170740 Submitted by: maintainer, nemysis@gmx.ch Modified: head/games/sdl_scavenger/Makefile (contents, props changed) Modified: head/games/sdl_scavenger/Makefile ============================================================================== --- head/games/sdl_scavenger/Makefile Tue Aug 28 00:50:44 2012 (r303266) +++ head/games/sdl_scavenger/Makefile Tue Aug 28 01:06:56 2012 (r303267) @@ -31,6 +31,8 @@ PORTDOCS= CREDITS DOC NEW_FEATURES READM ALL_TARGET= +.include + post-patch: @${REINPLACE_CMD} -e 's|data:/usr/local/games/scavenger|data:${DATADIR}/data|' \ ${WRKSRC}/names.h @@ -39,15 +41,15 @@ do-install: # Executable ${INSTALL_PROGRAM} ${WRKSRC}/sdlscav ${PREFIX}/bin/sdlscavenger -# Pixmaps - ${CP} ${WRKSRC}/data/scav.png ${PREFIX}/share/pixmaps/${PORTNAME}.png - # Data ${MKDIR} ${DATADIR} @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR}) -# Documentations -.if !defined(NOPORTDOCS) +# Pixmaps + ${INSTALL_DATA} ${WRKSRC}/data/scav.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + +# Documentation +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}