Use MAKE_ARGS/PLIST_FILES
This commit is contained in:
parent
5af1ad66a9
commit
0899110b81
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134350
@ -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
|
||||
|
@ -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
|
@ -1,2 +0,0 @@
|
||||
bin/tetrinet
|
||||
bin/tetrinet-server
|
Loading…
Reference in New Issue
Block a user