aboutsummaryrefslogtreecommitdiff
path: root/net/tintin++/Makefile
blob: 5ad6c51ca5e7e46a8e6062135b9fc3c7c7f342f2 (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
PORTNAME=	tintin++
PORTVERSION=	2.02.30
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
WWW=		https://tintin.mudhalla.net/ \
		https://github.com/scandum/tintin

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

LIB_DEPENDS=	libpcre.so:devel/pcre

USES=		gmake localbase

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

PLIST_FILES=	bin/tt++
PORTDOCS=	CREDITS FAQ README SCRIPTS TODO

CONFLICTS_INSTALL?=	zh-tintin++

SLAVEDIRS=	chinese/tintin++

OPTIONS_DEFINE=	BIG5 DOCS GNUTLS
BIG5_DESC=	Big5 support

BIG5_CONFIGURE_ENABLE=	big5
GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ENV_OFF=	ac_cv_header_gnutls_gnutls_h=no \
				ac_cv_lib_gnutls_gnutls_init=no

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

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

.include <bsd.port.mk>