1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/games/tetrinet/Makefile
Johan van Selst 130aaaf423 Fix potential build problem with non-standard compilers
by avoiding global variable 'log' to be treated as built-in function
(no functional changes)
2012-12-18 22:54:06 +00:00

40 lines
950 B
Makefile

# New ports collection makefile for: tetrinet
# Date created: 23 Februari 2001
# Whom: Fredrik Carlsson <fredrik@wasadata.com>
#
# $FreeBSD$
#
PORTNAME= tetrinet
PORTVERSION= 0.11
CATEGORIES= games net ipv6
MASTER_SITES= http://tetrinet.or.cz/download/
MAINTAINER= johans@FreeBSD.org
COMMENT= A console tetrinet client
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_IPV6 -fno-builtin-log"
PLIST_FILES= bin/tetrinet bin/tetrinet-server
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README tetrinet.txt
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tetrinet ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tetrinet-server ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/tetrinet
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tetrinet
${INSTALL_DATA} ${WRKSRC}/tetrinet.txt ${PREFIX}/share/doc/tetrinet
.endif
post-install:
@${ECHO}
@${CAT} ${PKGMESSAGE}
@${ECHO}
.include <bsd.port.mk>