703df348a6
Submitted by: Tilman Linneweh <tilman@arved.de>
35 lines
915 B
Makefile
35 lines
915 B
Makefile
# New ports collection makefile for: criticalmass
|
|
# Date created: 30 Aug 2002
|
|
# Whom: nbm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= criticalmass
|
|
PORTVERSION= 0.97
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= criticalmass
|
|
DISTNAME= CriticalMass-${PORTVERSION}
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
|
|
|
LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
|
|
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
|
|
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
|
|
|
|
USE_BZIP2= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" \
|
|
CPPFLAGS="${CFLAGS} -I${X11BASE}/include"
|
|
|
|
SDLINCPFILES= utilities/GLBitmapCollection.cpp utilities/GLExtension.hpp \
|
|
utilities/GLTexture.hpp utilities/PNG.hpp
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's#sdl-config#sdl11-config#; s#-lSDL # #;' ${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e 's#SDL/#SDL11/#;' ${SDLINCPFILES:S#^#${WRKSRC}/#}
|
|
|
|
.include <bsd.port.mk>
|