1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/games/tuxpuck/Makefile
Danilo Egea Gondolfo ece12351c1 - Convert LIB_DEPENDS to new syntax
- Add LICENSE
- Convert USE_GMAKE to USES
- Add stage support
2013-11-12 03:40:17 +00:00

40 lines
1023 B
Makefile

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