summaryrefslogtreecommitdiff
path: root/games/xconq/Makefile
blob: 517c31201ae2348f91a8e7cd25de0e8799e164ac (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
# New ports collection makefile for:    xconq
# Version required:     7.2.2
# Date created:         2 Jun 1998
# Whom:                 Don Croyle <croyle@gelemna.ft-wayne.in.us>
#
# $Id: Makefile,v 1.4 1998/09/15 11:13:12 asami Exp $
#

DISTNAME=	xconq-7.2.2
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.cygnus.com/pub/xconq/

MAINTAINER=	croyle@gelemna.ft-wayne.in.us

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-xpm

USE_X_PREFIX=	yes

MAN6=		xconq.6 cconq.6

post-build:
	cd ${WRKSRC}/doc && make info

post-install:
.for file in xconq cconq imf2x x2imf xshowimf
	strip ${PREFIX}/bin/${file}
.endfor
	cd ${WRKSRC}/doc && make install-info
	if [ ! -f ${PREFIX}/info/dir ]; then \
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
.for info in xconq xcdesign
	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor

.include <bsd.port.mk>