summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/sopwith/Makefile36
-rw-r--r--games/sopwith/distinfo1
-rw-r--r--games/sopwith/pkg-comment1
-rw-r--r--games/sopwith/pkg-descr8
-rw-r--r--games/sopwith/pkg-plist7
6 files changed, 54 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index c270381bae4f..8dc56995ded7 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -264,6 +264,7 @@
SUBDIR += sokoban
SUBDIR += sol
SUBDIR += solarwolf
+ SUBDIR += sopwith
SUBDIR += spacearyarya
SUBDIR += speak
SUBDIR += spellcast
diff --git a/games/sopwith/Makefile b/games/sopwith/Makefile
new file mode 100644
index 000000000000..f52bb58669d8
--- /dev/null
+++ b/games/sopwith/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: sopwith
+# Date created: 1 July 2002
+# Whom: Edwin Groothuis <edwin@mavetju.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sopwith
+PORTVERSION= 1.4.0
+CATEGORIES= games
+MASTER_SITES= http://fraggle.despayre.org:81/stuffage/sopwith/
+DISTNAME= sdl_${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= edwin@mavetju.org
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/sdl11-config:${PORTSDIR}/devel/sdl12
+
+USE_GTK= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= SDL_CONFIG=${PREFIX}/bin/sdl11-config
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/^extern void getmode.*//' \
+ ${WRKSRC}/src/swtitle.h
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for F in FAQ doc/license.txt doc/keys.txt doc/origdoc.txt
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/sopwith/distinfo b/games/sopwith/distinfo
new file mode 100644
index 000000000000..c95dbb2f92f9
--- /dev/null
+++ b/games/sopwith/distinfo
@@ -0,0 +1 @@
+MD5 (sdl_sopwith-1.4.0.tar.gz) = 509d5d2b01dbbd678171a87da2244c05
diff --git a/games/sopwith/pkg-comment b/games/sopwith/pkg-comment
new file mode 100644
index 000000000000..b2a587dc8995
--- /dev/null
+++ b/games/sopwith/pkg-comment
@@ -0,0 +1 @@
+A classic WW1 biplane game
diff --git a/games/sopwith/pkg-descr b/games/sopwith/pkg-descr
new file mode 100644
index 000000000000..1396a4f38101
--- /dev/null
+++ b/games/sopwith/pkg-descr
@@ -0,0 +1,8 @@
+This is a port of the classic computer game "Sopwith" to run on
+modern computers and operating systems. It is named "SDL Sopwith"
+as it was originally used the LibSDL graphics library. There is now
+also a port to Gtk+, the widget library used by GNOME and there is
+initial code written toward a backport allowing it to be run under
+DOS, like the original.
+
+WWW: http://fraggle.despayre.org:81/stuffage/sopwith/
diff --git a/games/sopwith/pkg-plist b/games/sopwith/pkg-plist
new file mode 100644
index 000000000000..36168aec3363
--- /dev/null
+++ b/games/sopwith/pkg-plist
@@ -0,0 +1,7 @@
+bin/gtksopwith
+bin/sopwith
+%%PORTDOCS%%share/doc/sopwith/FAQ
+%%PORTDOCS%%share/doc/sopwith/keys.txt
+%%PORTDOCS%%share/doc/sopwith/license.txt
+%%PORTDOCS%%share/doc/sopwith/origdoc.txt
+%%PORTDOCS%%@dirrm share/doc/sopwith