summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-29 09:41:17 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-29 09:41:17 +0000
commit0899110b8164367343a4cc2ee6f61250ea306ae6 (patch)
tree3f5e4b61aef354da7c5623c58ec70e6960689d2b /games
parentUse MAKE_ARGS, MAKEFILE (diff)
Use MAKE_ARGS/PLIST_FILES
Notes
Notes: svn path=/head/; revision=134350
Diffstat (limited to 'games')
-rw-r--r--games/tetrinet/Makefile4
-rw-r--r--games/tetrinet/files/patch-ad11
-rw-r--r--games/tetrinet/pkg-plist2
3 files changed, 4 insertions, 13 deletions
diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile
index 9e868d187b34..d954bc092489 100644
--- a/games/tetrinet/Makefile
+++ b/games/tetrinet/Makefile
@@ -13,7 +13,11 @@ MASTER_SITES= http://tetrinet.or.cz/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A console tetrinet client
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_IPV6"
+PLIST_FILES= bin/tetrinet bin/tetrinet-server
+.if !defined(NOPORTDOCS)
PORTDOCS= README tetrinet.txt
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tetrinet ${PREFIX}/bin
diff --git a/games/tetrinet/files/patch-ad b/games/tetrinet/files/patch-ad
deleted file mode 100644
index 7f5434c6945d..000000000000
--- a/games/tetrinet/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Wed Jan 7 19:04:45 2004
-+++ Makefile Wed Jan 7 19:43:15 2004
-@@ -1,6 +1,6 @@
--CC = cc
-+CC ?= cc
-
--CFLAGS = -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall
-+CFLAGS += -DHAVE_IPV6 -g -Wall
- OBJS = sockets.o tetrinet.o tetris.o tty.o
- ### no xwin.o, because it isn't done yet
- # OBJS = sockets.o tetrinet.o tetris.o tty.o xwin.o
diff --git a/games/tetrinet/pkg-plist b/games/tetrinet/pkg-plist
deleted file mode 100644
index aa0c6953833b..000000000000
--- a/games/tetrinet/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/tetrinet
-bin/tetrinet-server