aboutsummaryrefslogtreecommitdiffstats
path: root/games/xconq/Makefile
blob: 1135bad6e4e9b4e6fd09c4a6057f383487668eb5 (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.1.1.1 1998/06/07 11:03:06 dburr 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_X11=    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>