summaryrefslogtreecommitdiff
path: root/games/3dc/Makefile
blob: 488c623c8ff99c8412e0e4b82a84bdcdde4a0fb5 (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
# New ports collection makefile for:	3Dc
# Version required:			0.8.1
# Date created:				2 May 1998
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.3 1998/08/05 09:30:51 asami Exp $
#

DISTNAME=		3Dc-0.8.1
PKGNAME=		3dc-0.8.1
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/strategy

MAINTAINER=		andy@icc.surw.chel.su

LIB_DEPENDS=		Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
			Xaw3d\\.6\\.:${PORTSDIR}/x11-toolkits/Xaw3d

USE_X_PREFIX=		yes
WRKSRC=			${WRKDIR}/3Dc

do-build:
	@ cd ${WRKSRC}/src; make

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/src/3Dc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/3Dc
.for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/3Dc
.endfor
.endif

.include <bsd.port.mk>