mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Change Makefile header, use my name and @FreeBSD.org email
- Simplify REINPLACE
This commit is contained in:
parent
aeb1be64fe
commit
e8ac6a682f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350773
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user