blob: 03e10d49363dfc975847e6febb5f5b46c354f25b (
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
|
# New ports collection makefile for: scummvm
# Date created: Tue Mar 26 13:05:21 CET 2002
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#
PORTNAME= scummvm
PORTVERSION= 0.1.0
CATEGORIES= games emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}b
MAINTAINER= flynn@energyhq.homeip.net
LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12
USE_ZIP= yes
USE_GMAKE= yes
NO_WRKSUBDIR= yes
pre-patch:
@${FIND} -E ${WRKSRC} -type f -iregex ".*\.(cpp|h|txt)" \
-exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
@${PERL} -pi -e 's|\r\n|\n|' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docs in copying.txt readme.txt whatsnew.txt
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|