aboutsummaryrefslogtreecommitdiffstats
path: root/net/tinyfugue/Makefile
blob: f8bc3f44ea80292cea9f93fab701f9c9b2117452 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    tinyfugue
# Date created:     4 January 1997
# Whom:         mike@binghamton.edu
#
# $FreeBSD$
#

PORTNAME=   tf
PORTVERSION=    4.0s1
CATEGORIES= net games
MASTER_SITES=   http://ftp.tcp.com/pub/mud/Clients/tinyfugue/ \
        ftp://ftp.minet.uni-jena.de/pub/tf/
.if !defined(WITHOUT_MCCP)
PKGNAMESUFFIX=  -mccp
.endif
DISTNAME=   tf-40s1

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    A popular programmable MUD client, with macro support and more

PLIST_SUB=  DISTNAME=${DISTNAME}

MAKEFILE=   ${WRKSRC}/unix/Makefile
MAKE_ENV=   TFVER=${DISTNAME:S/^tf-//} CC="${CC}" CFLAGS="${CFLAGS}"

MAN1=       tf.1

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_MCCP)
EXTRA_PATCHES=  ${FILESDIR}/mccp-patch

post-extract:
    @${CP} ${FILESDIR}/mccp.[ch] ${WRKSRC}/src
.else
pre-extract:
    @${ECHO_MSG}
    @${ECHO_MSG} "You can disable MCCP v1/v2 support by defining WITHOUT_MCCP"
    @${ECHO_MSG}
.endif

.include <bsd.port.post.mk>