From owner-svn-ports-all@FreeBSD.ORG Tue Nov 5 00:33:18 2013 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 ESMTP id 48D0A3E4; Tue, 5 Nov 2013 00:33:18 +0000 (UTC) (envelope-from danilo@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1AC4B2EB1; Tue, 5 Nov 2013 00:33:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA50XH0u011964; Tue, 5 Nov 2013 00:33:17 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA50XHHS011959; Tue, 5 Nov 2013 00:33:17 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311050033.rA50XHHS011959@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 5 Nov 2013 00:33:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332793 - head/games/pengpong 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.14 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, 05 Nov 2013 00:33:18 -0000 Author: danilo Date: Tue Nov 5 00:33:17 2013 New Revision: 332793 URL: http://svnweb.freebsd.org/changeset/ports/332793 Log: - Add stage support - Remove indefinite article from COMMENT Modified: head/games/pengpong/Makefile head/games/pengpong/pkg-plist Modified: head/games/pengpong/Makefile ============================================================================== --- head/games/pengpong/Makefile Tue Nov 5 00:17:33 2013 (r332792) +++ head/games/pengpong/Makefile Tue Nov 5 00:33:17 2013 (r332793) @@ -8,7 +8,7 @@ CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}-linux MAINTAINER= ports@FreeBSD.org -COMMENT= A cross-platform pong game written in SDL +COMMENT= Cross-platform pong game written in SDL USES= perl5 USE_SDL= image sdl @@ -18,21 +18,18 @@ USE_PERL5= build DATAFILES= 24P_Copperplate_Blue.png ball.tga logo.jpg \ paddle.tga red.png -NO_STAGE= yes pre-patch: @${REINPLACE_CMD} -i '' -e 's|/usr/local/share/games/pengpong|${DATADIR}|' \ ${WRKSRC}/files.h @${REINPLACE_CMD} -i '' -e 's|V 0.2|V ${PORTVERSION}|' ${WRKSRC}/pengpong.cpp do-install: -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif - @${INSTALL_PROGRAM} ${WRKSRC}/pengpong ${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/pengpong ${STAGEDIR}${PREFIX}/bin .for files in ${DATAFILES} - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/${files} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/${files} ${STAGEDIR}${DATADIR} .endfor .include Modified: head/games/pengpong/pkg-plist ============================================================================== --- head/games/pengpong/pkg-plist Tue Nov 5 00:17:33 2013 (r332792) +++ head/games/pengpong/pkg-plist Tue Nov 5 00:33:17 2013 (r332793) @@ -1,9 +1,9 @@ bin/pengpong -share/pengpong/24P_Copperplate_Blue.png -share/pengpong/ball.tga -share/pengpong/logo.jpg -share/pengpong/paddle.tga -share/pengpong/red.png -%%PORTDOCS%%share/doc/pengpong/README -@dirrm share/pengpong -%%PORTDOCS%%@dirrm share/doc/pengpong +%%PORTDOCS%%%%DOCSDIR%%/README +%%DATADIR%%/24P_Copperplate_Blue.png +%%DATADIR%%/ball.tga +%%DATADIR%%/logo.jpg +%%DATADIR%%/paddle.tga +%%DATADIR%%/red.png +@dirrmtry %%DATADIR%% +@dirrmtry %%PORTDOCS%%%%DOCSDIR%%