freebsd-ports/games/numptyphysics/Makefile
Dmitry Marakasov 1e503dcd0a Harness gravity with your crayon and set about creating blocks,
ramps, levers, pulleys and whatever else you fancy to get the little
red thing to the little yellow thing.

Numpty Physics is a drawing puzzle game in the spirit (and style?)
of Crayon Physics using the same excellent Box2D engine.

WWW: http://numptyphysics.garage.maemo.org/
2009-01-04 23:02:42 +00:00

38 lines
975 B
Makefile

# New ports collection makefile for: numptyphysics
# Date created: 04 Jan 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= numptyphysics
DISTVERSION= 0.3.r20090104
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Drawing physics-based puzzle game
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_SDL= sdl image
INSTALLS_ICONS= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -DINSTALL_BASE_PATH=\"\\\"${DATADIR}\\\"\""
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
post-patch:
@${CHMOD} a+x ${WRKSRC}/install-sh
@${REINPLACE_CMD} -e 's|\(desktopentrydir=\).*|\1${PREFIX}/share/applications|' \
${WRKSRC}/configure ${WRKSRC}/configure.in
@${REINPLACE_CMD} -e 's|^Exec=.*|Exec=${PORTNAME}|; /^X-Icon-Path/ d' \
${WRKSRC}/data/${PORTNAME}.desktop
post-install:
${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.post.mk>