1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/games/tuxpuck/Makefile
Torsten Zuehlsdorff ccd155e539 games/tuxpuck: unbreak fetch
Additional changes:
  - Bump PORTREVISION
  - Add audio/libogg to library dependency
  - Regenerate patches

PR:          210082
Approved by: junovitch (mentor)
2016-06-27 20:02:47 +00:00

44 lines
1.0 KiB
Makefile

# Created by: Jan Stocker <Jan.Stocker@t-online.de>
# $FreeBSD$
PORTNAME= tuxpuck
PORTVERSION= 0.8.2
PORTREVISION= 23
CATEGORIES= games
MASTER_SITES= http://www.sourcefiles.org/Games/Sports/Miscellaneous/
MAINTAINER= ports@FreeBSD.org
COMMENT= Shufflepuck Cafe Clone
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libfreetype.so:print/freetype2
USE_SDL= sdl
USES= gmake jpeg
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/${PORTNAME} man/man6/tuxpuck.6.gz
post-patch:
.for i in intro.c timer.c tuxpuck.c tuxpuck.h video.c
@${REINPLACE_CMD} -e \
's|timer_create|_timer_create|g' ${WRKSRC}/${i}
.endfor
.for i in data utils
@${REINPLACE_CMD} -e \
's|^CC|#CC| ; \
s|^CFLAGS|#CFLAGS| ; \
s|sdl-config|$$(SDL_CONFIG)|' ${WRKSRC}/${i}/Makefile
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6
.include <bsd.port.mk>