diff options
-rw-r--r-- | games/openssn/Makefile | 19 | ||||
-rw-r--r-- | games/openssn/distinfo | 4 | ||||
-rw-r--r-- | games/openssn/files/patch-Makefile | 10 | ||||
-rw-r--r-- | games/openssn/pkg-descr | 2 | ||||
-rw-r--r-- | games/openssn/pkg-plist | 29 |
5 files changed, 52 insertions, 12 deletions
diff --git a/games/openssn/Makefile b/games/openssn/Makefile index d208f9300789..a2ee0eda1482 100644 --- a/games/openssn/Makefile +++ b/games/openssn/Makefile @@ -1,24 +1,25 @@ -# New ports collection makefile for: OpenSSN -# Date created: 30, May 2011 -# Whom: Jesse Smith <jessefrgsmith@yahoo.ca> -# +# Created by: Jesse Smith <jessefrgsmith@yahoo.ca> # $FreeBSD$ -# PORTNAME= openssn -PORTVERSION= 0.7 -PORTREVISION= 2 +PORTVERSION= 1.4 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= jessefrgsmith@yahoo.ca -COMMENT= A modern submarine simulator +COMMENT= Modern submarine simulator LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/LICENSE +MAN6= openssn.6 +MANCOMPRESSED= yes + +USES= desktop-file-utils USE_SDL= sdl gfx image mixer USE_XORG= x11 xau xdmcp xext xmu xpm xxf86vm WRKSRC= ${WRKDIR}/${PORTNAME} +post-patch: + @${REINPLACE_CMD} -e 's,share/man/man6,man/man6,g' ${WRKSRC}/Makefile + .include <bsd.port.mk> diff --git a/games/openssn/distinfo b/games/openssn/distinfo index 0ae0f6fd2491..c8a51548dc26 100644 --- a/games/openssn/distinfo +++ b/games/openssn/distinfo @@ -1,2 +1,2 @@ -SHA256 (openssn-0.7.tar.gz) = 51147494faa07fa493c0eb0aa99936d3cdb74e5053e1e7913eb02f866920abdf -SIZE (openssn-0.7.tar.gz) = 6004690 +SHA256 (openssn-1.4.tar.gz) = 90778d4c6d9b73351102ce1a6d3e30d9209822eea326079d952ae55d840bcba8 +SIZE (openssn-1.4.tar.gz) = 6089395 diff --git a/games/openssn/files/patch-Makefile b/games/openssn/files/patch-Makefile new file mode 100644 index 000000000000..5a8b0e48bda5 --- /dev/null +++ b/games/openssn/files/patch-Makefile @@ -0,0 +1,10 @@ +--- ./Makefile.orig 2013-06-19 16:47:57.000000000 -0300 ++++ ./Makefile 2013-06-19 16:48:04.000000000 -0300 +@@ -1,6 +1,6 @@ + PREFIX ?= /usr + SSN = openssn +-DATADIR = $(PREFIX)/share/openssn ++DATADIR = $(PREFIX)/share/games/openssn + OPTDIR = /opt/openssn + VERSION = 1.4 + diff --git a/games/openssn/pkg-descr b/games/openssn/pkg-descr index 69b5b1d30f68..b2646d44534c 100644 --- a/games/openssn/pkg-descr +++ b/games/openssn/pkg-descr @@ -2,4 +2,4 @@ OpenSSN is a modern submarine simulator which focuses on keeping control of the submarine simple, letting the player focus on the tactical situation. -WWW: http://openssn.sourceforge.net/ +WWW: http://openssn.sourceforge.net/ diff --git a/games/openssn/pkg-plist b/games/openssn/pkg-plist index d12d3a913924..21ef32ed9166 100644 --- a/games/openssn/pkg-plist +++ b/games/openssn/pkg-plist @@ -1,4 +1,5 @@ bin/openssn +share/applications/openssn.desktop share/games/openssn/data/font.dat share/games/openssn/data/information.txt share/games/openssn/data/largefont.dat @@ -6,14 +7,35 @@ share/games/openssn/data/mission0.dat share/games/openssn/data/mission1.dat share/games/openssn/data/mission2.dat share/games/openssn/data/mission3.dat +share/games/openssn/data/mission4.dat +share/games/openssn/data/mission5.dat +share/games/openssn/data/mission6.dat +share/games/openssn/data/mission7.dat +share/games/openssn/data/mission8.dat +share/games/openssn/data/mission9.dat +share/games/openssn/data/mission10.dat share/games/openssn/data/orders0.txt share/games/openssn/data/orders1.txt share/games/openssn/data/orders2.txt share/games/openssn/data/orders3.txt +share/games/openssn/data/orders4.txt +share/games/openssn/data/orders5.txt +share/games/openssn/data/orders6.txt +share/games/openssn/data/orders7.txt +share/games/openssn/data/orders8.txt +share/games/openssn/data/orders9.txt +share/games/openssn/data/orders10.txt share/games/openssn/data/ships0.dat share/games/openssn/data/ships1.dat share/games/openssn/data/ships2.dat share/games/openssn/data/ships3.dat +share/games/openssn/data/ships4.dat +share/games/openssn/data/ships5.dat +share/games/openssn/data/ships6.dat +share/games/openssn/data/ships7.dat +share/games/openssn/data/ships8.dat +share/games/openssn/data/ships9.dat +share/games/openssn/data/ships10.dat share/games/openssn/images/A13off.png share/games/openssn/images/A13on.png share/games/openssn/images/A23off.png @@ -186,10 +208,17 @@ share/games/openssn/ships/class3.shp share/games/openssn/ships/class4.shp share/games/openssn/ships/class5.shp share/games/openssn/ships/class6.shp +share/games/openssn/ships/class7.shp +share/games/openssn/ships/class8.shp +share/games/openssn/ships/class9.shp +share/games/openssn/ships/class10.shp +share/games/openssn/ships/class11.shp +share/games/openssn/ships/class12.shp share/games/openssn/ships/information.txt share/games/openssn/sounds/explosion.ogg share/games/openssn/sounds/sonar-ping.ogg share/games/openssn/sounds/torpedo-launch.ogg +share/pixmaps/openssn.png @dirrm share/games/openssn/sounds @dirrm share/games/openssn/ships @dirrm share/games/openssn/images |