2002-04-02 18:43:40 +02:00
|
|
|
# New ports collection makefile for: toppler
|
|
|
|
# Date created: 18 Jan 2002
|
|
|
|
# Whom: Dom Mitchell <dom@happygiraffe.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= toppler
|
2003-06-30 07:33:06 +02:00
|
|
|
PORTVERSION= 1.0.2
|
2004-03-16 05:23:56 +01:00
|
|
|
PORTREVISION= 2
|
2002-04-02 18:43:40 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= toppler
|
|
|
|
|
|
|
|
MAINTAINER= dom@happygiraffe.net
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= A game where you have to climb the tower and avoid the monsters
|
2002-04-02 18:43:40 +02:00
|
|
|
|
2004-01-20 22:18:12 +01:00
|
|
|
USE_SDL= mixer sdl
|
2002-04-02 18:43:40 +02:00
|
|
|
USE_GMAKE= yes
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2002-04-02 18:43:40 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2003-06-30 07:33:06 +02:00
|
|
|
MAN6= toppler.6
|
2002-04-02 18:43:40 +02:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
2003-11-13 15:45:08 +01:00
|
|
|
@${FIND} ${WRKSRC} \( -name "*.[ch]" -or -name "*.cc" \) | \
|
|
|
|
${XARGS} ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
|
2002-04-02 18:43:40 +02:00
|
|
|
|
|
|
|
post-install:
|
2003-06-30 07:33:06 +02:00
|
|
|
@cd ${WRKSRC} && ${MAKE} global_highscore
|
2002-04-02 18:43:40 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|