summaryrefslogblamecommitdiff
path: root/games/tuxpuck/Makefile
blob: 49ec7f2b1070d2935a721ba3df098408a4e6c205 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                             
                     
                 
                     
                                                           
 
                                 
                                      
 
                                                  
                                                
                                                    
 
                   
                   
                       

                   

                           
 

                          



                                                           
 



                                                                       
                           
# ex:ts=8
# New ports collection makefile for:	tuxpuck
# Date created:		25 April 2002
# Whom:			Jan Stocker <Jan.Stocker@t-online.de>
#
# $FreeBSD$
#

PORTNAME=	tuxpuck
PORTVERSION=	0.8.2
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	http://users.student.lth.se/d00jkr/tuxpuck/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Shufflepuck Cafe Clone

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png \
		vorbis.3:${PORTSDIR}/audio/libvorbis

USE_SDL=	sdl
USE_GMAKE=	yes
ALL_TARGET=	tuxpuck

MANCOMPRESSED=	yes
MAN6=		tuxpuck.6
PLIST_FILES=	bin/tuxpuck

.include <bsd.port.pre.mk>

post-patch:
	cd ${WRKSRC}; \
	${REINPLACE_CMD} "s,timer_create,_timer_create,g" \
	tuxpuck.c video.c timer.c intro.c tuxpuck.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tuxpuck ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${MANPREFIX}/man/man6

.include <bsd.port.post.mk>