summaryrefslogtreecommitdiff
path: root/games/xconq/Makefile
blob: 7ab2752fa00f317342dd652f250e15b850ce5720 (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:    xconq
# Date created:         2 Jun 1998
# Whom:                 Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#

PORTNAME=	xconq
PORTVERSION=	7.4.1
CATEGORIES=	games
MASTER_SITES=	ftp://sources.redhat.com/pub/xconq/ \
		ftp://unix.hensa.ac.uk/mirrors/sources.redhat.com/pub/xconq/

MAINTAINER=	ports@freebsd.org

LIB_DEPENDS=	tk83.1:${PORTSDIR}/x11-toolkits/tk83

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-tclconfig=${PREFIX}/lib/tcl8.3 \
		--with-tkconfig=${PREFIX}/lib/tk8.3 \
		--enable-alternate-scoresdir=${SCOREDIR}

USE_XLIB=	yes
USE_GMAKE=	yes

CFLAGS+=	-I ${PREFIX}/include/tcl8.3 \
		-I ${PREFIX}/include/tk8.3

MAN6=		xconq.6

SCOREDIR?=	/var/games/xconq
PLIST_SUB=	SCOREDIR=${SCOREDIR}

post-install:
.for file in xconq imf2x x2imf ximfapp
	strip ${PREFIX}/bin/${file}
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/xconq/doc
	${INSTALL_DATA} ${WRKSRC}/doc-html/* ${PREFIX}/share/xconq/doc/
.endif

.include <bsd.port.mk>