aboutsummaryrefslogtreecommitdiff
path: root/games/scummvm-tools/Makefile
blob: 49bf1b72d324be6b57a834655208102f843b6897 (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:	scummvm-tools
# Date created:				28 May 2003
# Whom:					Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	scummvm-tools
PORTVERSION=	0.4.1
PORTREVISION=	1
CATEGORIES=	games emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	scummvm

MAINTAINER=	flynn@energyhq.es.eu.org
COMMENT=	Tools for use with the SCUMMVM game emulator

RUN_DEPENDS=	scummvm:${PORTSDIR}/games/scummvm

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes

pre-patch:
	@${REINPLACE_CMD} -e 's@:= -g -O@+= ${CFLAGS}@' \
		${WRKSRC}/Makefile

do-install:
.for i in extract rescumm descumm descumm6 simon1decr simon2mp3
	@${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/bin
.endfor

.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>