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

PORTNAME=	phalanx
PORTVERSION=	22
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.math.muni.cz/pub/math/people/Dobes/ \
		http://www.crosswinds.net/~dobes/phalanx/

MAINTAINER=	ports@FreeBSD.org

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

WRKSRC=		${WRKDIR}/Phalanx-XXII
USE_GMAKE=	yes
ALL_TARGET=	# empty
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
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/phalanx
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/phalanx
.endif

.include <bsd.port.mk>