mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
37 lines
892 B
Makefile
37 lines
892 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
|
|
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
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tetrinet-server ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${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>
|