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

PORTNAME=	tintin
PORTVERSION=	1.98.4
CATEGORIES+=	net games
MASTER_SITES=	SFE

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

PLIST_FILES=	bin/tt++

.include <bsd.port.pre.mk>

DOCS=		BUGS CREDITS FAQ README TODO \
		docs/chat_protocol.txt docs/tintin19.txt
PORTDOCS=	${DOCS:T}

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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin

post-install:
.ifndef NOPORTDOCS
	@${INSTALL} -d ${DOCSDIR}
	@cd ${WRKSRC}/.. && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>