1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/shaaft/Makefile
Kirill Ponomarev c27a014515 - Fix MASTER_SITES
- Fix COMMENT format
- Fix LIB_DEPENDS
- Add CONFLICTS
- Support CXXFLAGS properly

PR:		ports/66753
Submitted by:	Ports Fury
2004-05-17 18:39:48 +00:00

41 lines
930 B
Makefile

# New ports collection makefile for: shaaft
# Date created: 02 Jan 2004
# Whom: krion@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= shaaft
PORTVERSION= 0.5.0
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= criticalmass
DISTNAME= Shaaft-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An OpenGL 3D falling block game similar to Blockout
CONFLICTS= criticalmass-*
USE_BZIP2= yes
USE_SDL= mixer image sdl
USE_GL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-optimize
MAN6= ${PORTNAME}.6
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
s|^CXXFLAGS|#CXXFLAGS|g ; \
s|-lSDL | |g ; \
s|-lpng12|-lpng|g' ${WRKSRC}/configure
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|SDL/SDL|SDL|g'
.include <bsd.port.mk>