Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 00:33:17 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332793 - head/games/pengpong
Message-ID:  <201311050033.rA50XHHS011959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311050033.rA50XHHS011959>