aboutsummaryrefslogtreecommitdiff
path: root/net/tintin++-devel/Makefile
blob: 43a8e618ed37bb6f26ae22c6b4ae48a03132464d (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
# New ports collection makefile for:    tintin++
# Date created:         15 Nov 1994
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=	tintin
PORTVERSION=	1.98.1
PORTREVISION=	1
CATEGORIES+=	net games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER?=	sunpoet@sunpoet.net
COMMENT=	A client program to help playing muds (devel version)

LATEST_LINK=	${PORTNAME}-devel

WRKSRC=		${WRKDIR}/tt/src

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GCC=	3.2+

PLIST_FILES=	bin/tt++
PORTDOCS=	BUGS CREDITS FAQ README TODO chat_protocol.txt tintin19.txt

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
.ifndef NOPORTDOCS
	${MKDIR} ${DOCSDIR}
.for i in BUGS CREDITS FAQ README TODO docs/chat_protocol.txt docs/tintin19.txt
	${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>