svn commit: r350773 - head/games/patapizza-tetris

Rusmir Dusko nemysis at FreeBSD.org
Thu Apr 10 06:21:55 UTC 2014


Author: nemysis
Date: Thu Apr 10 06:21:55 2014
New Revision: 350773
URL: http://svnweb.freebsd.org/changeset/ports/350773
QAT: https://qat.redports.org/buildarchive/r350773/

Log:
  - Change Makefile header, use my name and @FreeBSD.org email
  - Simplify REINPLACE

Modified:
  head/games/patapizza-tetris/Makefile

Modified: head/games/patapizza-tetris/Makefile
==============================================================================
--- head/games/patapizza-tetris/Makefile	Thu Apr 10 06:15:07 2014	(r350772)
+++ head/games/patapizza-tetris/Makefile	Thu Apr 10 06:21:55 2014	(r350773)
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis at gmx.ch>
+# Created by: Rusmir Dusko <nemysis at FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	patapizza-tetris
@@ -25,7 +25,6 @@ USES=		gmake
 USE_SDL=	sdl image gfx ttf
 
 PORTDOCS=	README.md
-
 OPTIONS_DEFINE=	DOCS
 
 SUB_FILES=	${PORTNAME}
@@ -34,8 +33,8 @@ DESKTOP_ENTRIES="Patapizza Tetris" "" "$
 		"${PORTNAME}" "Game;LogicGame;" ""
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|CC = gcc|CC = ${CC}| ; \
-	s|/usr|${PREFIX}|' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|CC =|CC ?=|; \
+		s|/usr|${PREFIX}|' ${WRKSRC}/Makefile
 
 do-build:
 	cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \


More information about the svn-ports-all mailing list