1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/toppler/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

42 lines
981 B
Makefile

# New ports collection makefile for: toppler
# Date created: 18 Jan 2002
# Whom: Dom Mitchell <dom@happygiraffe.net>
#
# $FreeBSD$
#
PORTNAME= toppler
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= toppler
MAINTAINER= dom@happygiraffe.net
COMMENT= A game where you have to climb the tower and avoid the monsters
GNU_CONFIGURE= yes
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
MAN6= toppler.6
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= can not be compiled because it requires mbrtowc() in libc
.endif
post-install:
@${CHOWN} root:games ${PREFIX}/bin/toppler
@${CHMOD} g+s ${PREFIX}/bin/toppler
@${SETENV} "PKG_PREFIX=${PREFIX}" \
${SH} pkg-install ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>