Date: Tue, 28 Aug 2012 01:06:56 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303267 - head/games/sdl_scavenger Message-ID: <201208280106.q7S16uKD085532@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> + 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208280106.q7S16uKD085532>