aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-04-10 14:21:55 +0800
committernemysis <nemysis@FreeBSD.org>2014-04-10 14:21:55 +0800
commitb68e758ffb8455a84c42f5b10128517c6286a314 (patch)
treebc66355871ea5a7d4f08d0a1fe6ffb6017102e2b /games
parent208311fe3e8fa184244e2063882b5cf6775cfa4b (diff)
downloadfreebsd-ports-gnome-b68e758ffb8455a84c42f5b10128517c6286a314.tar.gz
freebsd-ports-gnome-b68e758ffb8455a84c42f5b10128517c6286a314.tar.zst
freebsd-ports-gnome-b68e758ffb8455a84c42f5b10128517c6286a314.zip
- Change Makefile header, use my name and @FreeBSD.org email
- Simplify REINPLACE
Diffstat (limited to 'games')
-rw-r--r--games/patapizza-tetris/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/patapizza-tetris/Makefile b/games/patapizza-tetris/Makefile
index d7fb9463b67d..9e9c5b0a36e3 100644
--- a/games/patapizza-tetris/Makefile
+++ b/games/patapizza-tetris/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis@gmx.ch>
+# Created by: Rusmir Dusko <nemysis@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}" \
"${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} \