diff options
author | John Marino <marino@FreeBSD.org> | 2016-01-31 09:31:51 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-01-31 09:31:51 +0000 |
commit | 8edb2abed9611e093de794dea1abc450751cd547 (patch) | |
tree | c8706aa54b5128500fcb648897f2366826886f4a | |
parent | 10161fd7fbebb49987f2ee9b47fb2a8cf0ac5b1c (diff) | |
download | ports-8edb2abed9611e093de794dea1abc450751cd547.tar.gz ports-8edb2abed9611e093de794dea1abc450751cd547.zip |
Notes
-rw-r--r-- | games/seabattle/Makefile | 2 | ||||
-rw-r--r-- | games/seabattle/files/patch-Makefile | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/games/seabattle/Makefile b/games/seabattle/Makefile index 25d34cd43983..da78d4f0bc59 100644 --- a/games/seabattle/Makefile +++ b/games/seabattle/Makefile @@ -11,6 +11,8 @@ MASTER_SITES= SUNSITE/games/strategy/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Curses based battleship type game +USES= ncurses + OPTIONS_DEFINE= DOCS do-install: diff --git a/games/seabattle/files/patch-Makefile b/games/seabattle/files/patch-Makefile index e7b3533edabd..a125f8c34ba8 100644 --- a/games/seabattle/files/patch-Makefile +++ b/games/seabattle/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Wed May 14 02:53:34 1997 -+++ Makefile Fri Feb 2 04:20:41 2001 +--- Makefile.orig 1997-05-13 17:53:34 UTC ++++ Makefile @@ -8,7 +8,7 @@ ############################################################## @@ -9,7 +9,7 @@ #CC = cc #On Suns, SGIs, and other Unix systems uncomment the following -@@ -17,12 +17,12 @@ +@@ -17,12 +17,12 @@ CC = gcc #C_OPTS = #L_OPTS = -lcurses @@ -18,11 +18,12 @@ # -PLATFORM = Linux -C_OPTS = -O2 -Wall +-L_OPTS = -lncurses +- +PLATFORM = FreeBSD/Linux +DATADIR = ${PREFIX}/share/seabattle +C_OPTS = ${CFLAGS} -DDATADIR=\"${DATADIR}\" - L_OPTS = -lncurses -- ++L_OPTS = $(LDFLAGS) -lncurses #For Dos/Windows DJGPP (you need the curses lib) #PLATFORM = DOS_DJGPP |