From owner-svn-ports-all@FreeBSD.ORG Tue Aug 21 08:45:50 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 A3220106566B; Tue, 21 Aug 2012 08:45:50 +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 8E1AB8FC08; Tue, 21 Aug 2012 08:45:50 +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 q7L8joXk098262; Tue, 21 Aug 2012 08:45:50 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7L8jorS098260; Tue, 21 Aug 2012 08:45:50 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201208210845.q7L8jorS098260@svn.freebsd.org> From: Jason Helfman Date: Tue, 21 Aug 2012 08:45:50 +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: r302849 - head/games/asteroids3d 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, 21 Aug 2012 08:45:50 -0000 Author: jgh Date: Tue Aug 21 08:45:50 2012 New Revision: 302849 URL: http://svn.freebsd.org/changeset/ports/302849 Log: - port requires data installation PR: 170719 Submitted by: maintainer, nemysis@gmx.ch Modified: head/games/asteroids3d/Makefile Modified: head/games/asteroids3d/Makefile ============================================================================== --- head/games/asteroids3d/Makefile Tue Aug 21 08:27:01 2012 (r302848) +++ head/games/asteroids3d/Makefile Tue Aug 21 08:45:50 2012 (r302849) @@ -7,6 +7,7 @@ PORTNAME= asteroids3d PORTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/a3d/${PORTVERSION}/ \ LOCAL/madpilot/asteroids3d/:icons @@ -44,17 +45,20 @@ pre-configure: post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${PREFIX}/bin/${PORTNAME} -# Pixmaps - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps + # Data -.if !defined(NOPORTDATA) ${MKDIR} ${DATADIR} @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" ${DATADIR}) -.endif + +# Pixmaps + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps + # Documentation -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR} .endif