aboutsummaryrefslogtreecommitdiff
path: root/games/sopwith
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-05 18:47:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-10-05 18:47:10 +0000
commitc08487d5df947ad89d913baae2210d626564415a (patch)
tree4f568aed1d06569b95dac3e8db0758612b16451e /games/sopwith
parent17ceaec13fccdde6bc9e5a5375d09b9c7b9ee11c (diff)
downloadports-c08487d5df947ad89d913baae2210d626564415a.tar.gz
ports-c08487d5df947ad89d913baae2210d626564415a.zip
Notes
Diffstat (limited to 'games/sopwith')
-rw-r--r--games/sopwith/Makefile8
-rw-r--r--games/sopwith/distinfo5
-rw-r--r--games/sopwith/files/patch-src__Makefile.in9
-rw-r--r--games/sopwith/pkg-plist8
4 files changed, 18 insertions, 12 deletions
diff --git a/games/sopwith/Makefile b/games/sopwith/Makefile
index af339a00c701..905c320ef859 100644
--- a/games/sopwith/Makefile
+++ b/games/sopwith/Makefile
@@ -2,17 +2,21 @@
# $FreeBSD$
PORTNAME= sopwith
-PORTVERSION= 1.8.2
-PORTREVISION= 3
+PORTVERSION= 1.8.4
CATEGORIES= games
MASTER_SITES= SF/sdl-${PORTNAME}/sdl_${PORTNAME}/${PORTVERSION}
MAINTAINER= edwin@mavetju.org
COMMENT= Classic WW1 biplane game
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= gmake pkgconfig
USE_SDL= sdl
USE_GNOME= gtk20
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/games/sopwith/distinfo b/games/sopwith/distinfo
index a2497821179f..a98e15cb7391 100644
--- a/games/sopwith/distinfo
+++ b/games/sopwith/distinfo
@@ -1,2 +1,3 @@
-SHA256 (sopwith-1.8.2.tar.gz) = b94bd2d32c776fb5fe9e428afe5b1dfe80d3d6f278ab7609c32f3237cb3491f0
-SIZE (sopwith-1.8.2.tar.gz) = 355695
+TIMESTAMP = 1473636971
+SHA256 (sopwith-1.8.4.tar.gz) = a5ecb795a7aeff6be3ebfb99f1c6218054b73048786809f8468a92c952c17bd0
+SIZE (sopwith-1.8.4.tar.gz) = 310438
diff --git a/games/sopwith/files/patch-src__Makefile.in b/games/sopwith/files/patch-src__Makefile.in
index dc67049474c5..dd099f9a1aa9 100644
--- a/games/sopwith/files/patch-src__Makefile.in
+++ b/games/sopwith/files/patch-src__Makefile.in
@@ -1,10 +1,11 @@
---- ./src/Makefile.in.orig 2014-03-21 20:04:20.389912049 -0300
-+++ ./src/Makefile.in 2014-03-21 20:06:15.225011088 -0300
-@@ -82,7 +82,7 @@
+--- src/Makefile.in.orig 2014-11-17 21:43:31 UTC
++++ src/Makefile.in
+@@ -82,7 +82,7 @@ EXTRA_SUBDIRS = sdl gtk psion
bin_PROGRAMS = @SOPWITH_BINS@
EXTRA_PROGRAMS = sopwith gtksopwith psopwith
-CFLAGS = @CFLAGS@ -I.. -I/usr/include/SDL ${SDL_CGLAFS}
-+CFLAGS = @CFLAGS@ -I.. -I/usr/include/SDL -I/usr/local/include/SDL ${SDL_CGLAFS}
++CFLAGS = @CFLAGS@ -I.. ${SDL_CFLAGS}
COMMON_SRC = video.h swcollsn.c swgames.h swmain.h swutil.h font.h swcollsn.h swground.c swmisc.c tcpcomm.c pcsound.h swconf.c swground.h swmisc.h swsound.c tcpcomm.h std.h swconf.h swgrpha.c swmove.c swsound.h timer.h sw.h swdisp.c swgrpha.h swmove.h swsymbol.c swasynio.c swdisp.h swinit.c swsymbol.h swasynio.h swend.c swinit.h swtitle.c swauto.c swend.h swobject.c swtitle.h swauto.h swgames.c swmain.c swobject.h swutil.c video.c
+
diff --git a/games/sopwith/pkg-plist b/games/sopwith/pkg-plist
index eeb14513d1a9..219fe93b32bc 100644
--- a/games/sopwith/pkg-plist
+++ b/games/sopwith/pkg-plist
@@ -1,6 +1,6 @@
bin/sopwith
man/man6/sopwith.6.gz
-share/doc/sopwith/keys.txt
-share/doc/sopwith/dlcvsamj.txt
-share/doc/sopwith/origdoc.txt
-share/doc/sopwith/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/keys.txt
+%%PORTDOCS%%%%DOCSDIR%%/dlcvsamj.txt
+%%PORTDOCS%%%%DOCSDIR%%/origdoc.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt