summaryrefslogtreecommitdiffstats
path: root/games/scid/Makefile
blob: ca30642720dc1867f0e91fedbf99b25d5d96d1ea (plain)
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
# ex:ts=8
# Ports collection makefile for:	scid
# Date created:			Mar 4, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	scid
PORTVERSION=	4.2.2
CATEGORIES=	games databases
MASTER_SITES=	SF/${PORTNAME}/Scid/Scid%204.2/

MAINTAINER=	bsd@volki.at
COMMENT=	A free chess database application

USE_TK=		84+
INVALID_TCL_VER=	86

USE_BZIP2=	yes
USE_PYTHON=	yes
USE_GMAKE=	yes

ALL_TARGET=	all strip

WRKSRC=		${WRKDIR}/${PORTNAME}

.include <bsd.port.pre.mk>
MAKE_ARGS+=	TCL_VER="${TCL_VER}" \
		TCL_LIBVER="${TCL_VER:S/.//}" \
		TCL_THREADS_SUFFIX="${_TCL_THREADS_SUFFIX}" \
		TCL_LIBDIR="${TCL_LIBDIR}" \
		TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \
		TK_LIBDIR="${TK_LIBDIR}" \
		TK_INCLUDEDIR="${TK_INCLUDEDIR}"

.if defined(USE_TCL_THREADS)
MAKE_ARGS+=	PTHREAD_LIBS="${PTHREAD_LIBS}"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud