summaryrefslogtreecommitdiff
path: root/games/xconq/Makefile
blob: 04c818e9d3fefad776c2d05c54cf9ff15d17bbe6 (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.3 1998/08/05 09:30:58 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.5:${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>