aboutsummaryrefslogtreecommitdiffstats
path: root/games/phalanx/Makefile
blob: adf41cfb83115b99b62a90947188bd6df1b86d3f (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
# New ports collection makefile for:    phalanx
# Version required:         21
# Date created:             2 May 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=       phalanx-21
CATEGORIES=     games
MASTER_SITES=       ${MASTER_SITE_SUNSITE} \
            ftp://ftp.math.muni.cz/pub/math/people/Dobes/
MASTER_SITE_SUBDIR= games/strategy

MAINTAINER=     andy@icc.surw.chel.su

LIB_DEPENDS=        gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

WRKSRC=         ${WRKDIR}/Phalanx-XXI
USE_GMAKE=      yes
ALL_TARGET=
MAKEFILE=       makefile

do-install:
    @ ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/phalanx
    @ ${INSTALL_DATA} ${WRKSRC}/pbook.phalanx ${PREFIX}/share/phalanx
    @ ${INSTALL_DATA} ${WRKSRC}/sbook.phalanx ${PREFIX}/share/phalanx

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/phalanx
    @ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/phalanx
    @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/phalanx
.endif

.include <bsd.port.mk>