summaryrefslogtreecommitdiffstats
path: root/games/scummvm/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-01-01 21:32:43 +0000
committeradamw <adamw@FreeBSD.org>2003-01-01 21:32:43 +0000
commit05fcd32a1ba1ad09fed14b989577419b631df716 (patch)
tree00eead752403458453b2cb87e91d41d9b52308bb /games/scummvm/Makefile
parent3b6ea1ddaa0cf7842b5b4c8a051d197592cdec96 (diff)
downloadFreeBSD-ports-05fcd32a1ba1ad09fed14b989577419b631df716.zip
FreeBSD-ports-05fcd32a1ba1ad09fed14b989577419b631df716.tar.gz
Update scummvm to 0.3.0b
PR: 46150 Submitted by: Miguel Mendez <flynn@energyhq.homeip.net> (maintainer)
Diffstat (limited to 'games/scummvm/Makefile')
-rw-r--r--games/scummvm/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile
index a06008b..71651ea1 100644
--- a/games/scummvm/Makefile
+++ b/games/scummvm/Makefile
@@ -6,32 +6,42 @@
#
PORTNAME= scummvm
-PORTVERSION= 0.2.0
+PORTVERSION= 0.3.0b
CATEGORIES= games emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}-src
-EXTRACT_SUFX= .tgz
MAINTAINER= flynn@energyhq.homeip.net
LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12
USE_GMAKE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}-0.3.0
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
-#MAKEFILE= Makefile.x11
+MAN6= scummvm.6
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
+ @${REINPLACE_CMD} -e 's|\r\n|\n|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's@sdl-config@sdl11-config@g' \
+ ${WRKSRC}/backends/sdl/build.rules
+
+post-configure:
+ @${REINPLACE_CMD} -e 's@-lmad@@g; \
+ s@:= -g -O@+= ${CFLAGS}@' \
+ ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/scummvm.6 ${PREFIX}/man/man6
+
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for docs in copying.txt readme.txt whatsnew.txt
+.for docs in README
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
OpenPOWER on IntegriCloud