aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-04-13 21:12:42 +0800
committerale <ale@FreeBSD.org>2004-04-13 21:12:42 +0800
commit8c6a8b5aec8e0549245734e19ccfc427676a8df2 (patch)
tree8b970c89f527f5bc1c2232ff4a32a0860c6e6866 /games
parent5cc0c971492094a2064be05e83afd9f27c4e1e12 (diff)
downloadfreebsd-ports-gnome-8c6a8b5aec8e0549245734e19ccfc427676a8df2.tar.gz
freebsd-ports-gnome-8c6a8b5aec8e0549245734e19ccfc427676a8df2.tar.zst
freebsd-ports-gnome-8c6a8b5aec8e0549245734e19ccfc427676a8df2.zip
Move scummvm back into games category for consistency with other
game interpreter. Requested by: kris
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/scummvm/Makefile75
-rw-r--r--games/scummvm/distinfo2
-rw-r--r--games/scummvm/pkg-descr14
-rw-r--r--games/scummvm/pkg-plist5
5 files changed, 97 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 62e91743c516..69e847b683ce 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -384,6 +384,7 @@
SUBDIR += rubix
SUBDIR += scid
SUBDIR += scorched3d-devel
+ SUBDIR += scummvm
SUBDIR += scummvm-tools
SUBDIR += sdlroids
SUBDIR += seabattle
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile
new file mode 100644
index 000000000000..44ba16aabf22
--- /dev/null
+++ b/games/scummvm/Makefile
@@ -0,0 +1,75 @@
+# New ports collection makefile for: scummvm
+# Date created: Tue Sep 2 23:34:32 BST 2003
+# Whom: Alex Trull <alexander@trull.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scummvm
+PORTVERSION= 0.6.0
+CATEGORIES= games emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= alexander@trull.com
+COMMENT= Graphical Adventure Game Virtual Machine
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+USE_REINPLACE= yes
+USE_SDL= sdl
+
+CONFIGURE_ARGS=--with-sdl-prefix=${LOCALBASE} \
+ --disable-alsa \
+ --with-zlib-prefix=/usr \
+ --disable-debug
+
+OPTIONS= VORBIS "Enable Ogg Vorbis support" off \
+ MAD "Enable mad (MP3) support" on \
+ MPEG2 "Enable MPEG2 support" off
+
+MAN6= scummvm.6
+
+DOCS= NEWS README TODO
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_VORBIS)
+LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg \
+ vorbis.3:${PORTSDIR}/audio/libvorbis
+CONFIGURE_ARGS+=--with-ogg-prefix=${LOCALBASE} \
+ --with-vorbis-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--disable-vorbis
+.endif
+
+.if !defined(WITHOUT_MAD)
+LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad
+CONFIGURE_ARGS+=--with-mad-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--disable-mad
+.endif
+
+.if defined(WITH_MPEG2)
+LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
+CONFIGURE_ARGS+=--with-mpeg2-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--disable-mpeg2
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/-O//' ${WRKSRC}/Makefile
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/scummvm.6 ${PREFIX}/man/man6
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/scummvm/distinfo b/games/scummvm/distinfo
new file mode 100644
index 000000000000..f30c72b493b1
--- /dev/null
+++ b/games/scummvm/distinfo
@@ -0,0 +1,2 @@
+MD5 (scummvm-0.6.0.tar.bz2) = efc4207a7f10b24e9fc5afa10ed9c455
+SIZE (scummvm-0.6.0.tar.bz2) = 1631951
diff --git a/games/scummvm/pkg-descr b/games/scummvm/pkg-descr
new file mode 100644
index 000000000000..f00a601a9ef7
--- /dev/null
+++ b/games/scummvm/pkg-descr
@@ -0,0 +1,14 @@
+ScummVM is an 'Virtual Machine' for playing several classic graphical
+point-and-click adventure games developed by LucasArts, Revolution
+and Adventure Soft.
+
+See http://www.scummvm.org/compatibility.php for a full list of Games.
+
+The following freewared games are available via ports at the time of writing:
+
+Beneath a Steel Sky: games/bass
+Flight of the Amazon Queen: games/fotaq
+
+WWW: http://scummvm.sourceforge.net/
+
+-Alex Trull (alexander@trull.com)
diff --git a/games/scummvm/pkg-plist b/games/scummvm/pkg-plist
new file mode 100644
index 000000000000..ecd2aeec1ed6
--- /dev/null
+++ b/games/scummvm/pkg-plist
@@ -0,0 +1,5 @@
+bin/scummvm
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%