freebsd-ports/games/burgerspace/Makefile
2001-06-08 05:36:46 +00:00

35 lines
947 B
Makefile

# New ports collection makefile for: burgerspace
# Date created: Apr 13, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= burgerspace
PORTVERSION= 1.5
CATEGORIES= games
MASTER_SITES= http://sites.netscape.net/sarrazip/
MAINTAINER= markp@FreeBSD.org
LIB_DEPENDS= gengameng.3:${PORTSDIR}/devel/gengameng \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt"
CONFIGURE_ARGS+= --with-gengameng-prefix="${X11BASE}"
MAN6= burgerspace.6
pre-patch:
${PERL} -pi -e "s|sdl-config|${SDL_CONFIG}|g; \
s|include/SDL/|include/SDL11/|g;" ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/burgerspace ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/burgerspace.6 ${PREFIX}/man/man6
.include <bsd.port.mk>