aboutsummaryrefslogtreecommitdiff
path: root/games/blobwars/Makefile
blob: 2eed280c60c36dded56d9021d31340d29d18ebc7 (plain) (blame)
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
# New ports collection makefile for:	blobwars
# Date created:				14 June 2005
# Whom:					Loren M. Lang
#
# $FreeBSD$
#

PORTNAME=	blobwars
DISTVERSION=	1.04-1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=distfiles

MAINTAINER=	lorenl@north-winds.org
COMMENT=	You are the fearless Blob agent, Bob

MAKEFILE=	makefile
MAKE_ENV=	CXX="${CXX}"

USE_X_PREFIX=	yes
USE_SDL=	sdl image mixer ttf
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/blobwars-1.04

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/makefile

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>