summaryrefslogtreecommitdiffstats
path: root/games/ssc/Makefile
blob: 8b615847c11a8a81055935f503ab3b2fb87feeca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for: ssc
# Date created:		17 Jan 2004
# Whom:			Igor Pokrovsky <tiamat@comset.net>
#
# $FreeBSD$
#

PORTNAME=	ssc
PORTVERSION=	0.8
PORTREVISION=	5
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}x

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An OpenGL arcade space shoot-em-up with interesting physics

LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
		freetype.9:${PORTSDIR}/print/freetype2

USE_BZIP2=	yes
USE_GCC=	3.2
USE_GMAKE=	yes
USE_GL=		gl
USE_SDL=	mixer sdl
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS=-L${LOCALBASE}/lib
ONLY_FOR_ARCHS=	i386

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e "s|SDL\/||g; s|/usr/local|${PREFIX}|g" \
		${WRKSRC}/src/*.h ${WRKSRC}/src/*.cc

.ifndef (NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud