summaryrefslogtreecommitdiff
path: root/games/blobwars/Makefile
blob: 3fec8f312b713a4e08c4a3efec2275769e609880 (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@alzatex.com
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>