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
|
2005-03-16 22:17:36 +01:00
|
|
|
PORTVERSION= 1.1.1
|
2006-09-20 13:21:59 +02:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-03-16 22:17:36 +01:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_SDL= mixer sdl
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LIBS="-lintl"
|
|
|
|
CONFIGURE_ARGS= --program-transform-name= --localstatedir=/var/games
|
2002-04-02 18:43:40 +02:00
|
|
|
|
2003-06-30 07:33:06 +02:00
|
|
|
MAN6= toppler.6
|
2002-04-02 18:43:40 +02:00
|
|
|
|
2005-03-16 22:17:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
IGNORE= can not be compiled because it requires mbrtowc() in libc
|
|
|
|
.endif
|
2002-04-02 18:43:40 +02:00
|
|
|
|
|
|
|
post-install:
|
2005-03-16 22:17:36 +01:00
|
|
|
@${CHOWN} root:games ${PREFIX}/bin/toppler
|
|
|
|
@${CHMOD} g+s ${PREFIX}/bin/toppler
|
|
|
|
@${SETENV} "PKG_PREFIX=${PREFIX}" \
|
|
|
|
${SH} pkg-install ${PKGNAME} POST-INSTALL
|
2002-04-02 18:43:40 +02:00
|
|
|
|
2005-03-16 22:17:36 +01:00
|
|
|
.include <bsd.port.post.mk>
|