aboutsummaryrefslogtreecommitdiff
path: root/games/sopwith
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2002-08-04 10:14:39 +0000
committerMark Pulford <markp@FreeBSD.org>2002-08-04 10:14:39 +0000
commit453f23b05a09986685253a3febd77863817555c0 (patch)
tree8952e4c1c89f4bb546ff01b735e98e08ac932a31 /games/sopwith
parent1fc66763482634c417343c66ba2e3e0a1be106b2 (diff)
downloadports-453f23b05a09986685253a3febd77863817555c0.tar.gz
ports-453f23b05a09986685253a3febd77863817555c0.zip
Notes
Diffstat (limited to 'games/sopwith')
-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
5 files changed, 53 insertions, 0 deletions
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