From 791c5f67611c40fbecbd3dc732140cfff9d6cc3c Mon Sep 17 00:00:00 2001 From: vs Date: Fri, 29 Apr 2005 09:41:17 +0000 Subject: Use MAKE_ARGS/PLIST_FILES --- games/tetrinet/Makefile | 4 ++++ games/tetrinet/files/patch-ad | 11 ----------- games/tetrinet/pkg-plist | 2 -- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 games/tetrinet/files/patch-ad delete mode 100644 games/tetrinet/pkg-plist 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 -- cgit