diff options
author | vs <vs@FreeBSD.org> | 2005-04-29 17:41:17 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-29 17:41:17 +0800 |
commit | 791c5f67611c40fbecbd3dc732140cfff9d6cc3c (patch) | |
tree | eaa4c3c61b12d3817fa313b17b73f618e65e075d | |
parent | a408c583839d7e0c886d3077d0b304e8849717ed (diff) | |
download | freebsd-ports-gnome-791c5f67611c40fbecbd3dc732140cfff9d6cc3c.tar.gz freebsd-ports-gnome-791c5f67611c40fbecbd3dc732140cfff9d6cc3c.tar.zst freebsd-ports-gnome-791c5f67611c40fbecbd3dc732140cfff9d6cc3c.zip |
Use MAKE_ARGS/PLIST_FILES
-rw-r--r-- | games/tetrinet/Makefile | 4 | ||||
-rw-r--r-- | games/tetrinet/files/patch-ad | 11 | ||||
-rw-r--r-- | games/tetrinet/pkg-plist | 2 |
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 |