aboutsummaryrefslogtreecommitdiff
path: root/net/tintin++/Makefile
blob: a0ce0d5d6d5f93c2ddd833b2b0827159a6cf6e6e (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
44
45
46
47
48
49
50
# Created by: ache

PORTNAME=	tintin++
PORTVERSION=	2.02.05
CATEGORIES+=	net games
MASTER_SITES=	SF/tintin/TinTin%2B%2B%20Source%20Code/${PORTVERSION:C|.$||}/ \
		https://github.com/scandum/tintin/releases/download/${PORTVERSION}/
DISTNAME=	tintin-${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Client program to help playing MUDs

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/../COPYING

LIB_DEPENDS=	libpcre.so:devel/pcre

CONFLICTS_INSTALL?=	zh-tintin++

OPTIONS_DEFINE=	BIG5 DOCS
BIG5_DESC=	Big5 support

USES=		gmake localbase

CONFIGURE_ARGS=	--includedir=${LOCALBASE}/include \
		--libdir=${LOCALBASE}/lib \
		--prefix=${PREFIX}
CONFIGURE_ENV=	ac_cv_file__dev_ptmx=no \
		ac_cv_header_gnutls_gnutls_h=no \
		ac_cv_lib_gnutls_gnutls_init=no
GNU_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/tt/src

DOCS=		CREDITS FAQ README SCRIPTS TODO \
		docs/chat_protocol.txt docs/tintin19.txt
PLIST_FILES=	bin/tt++
PORTDOCS=	${DOCS:T}

SLAVEDIRS=	chinese/tintin++

BIG5_CONFIGURE_ENABLE=	big5

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

do-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/
	cd ${WRKSRC}/../ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>