summaryrefslogtreecommitdiff
path: root/games/hex/Makefile
blob: 5cef07b6738a4268165730fdacd1e9d46947e1e6 (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
# New ports collection makefile for:	Hex
# Date created:		9 Aug 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	hex
PORTVERSION=	0.0.2
CATEGORIES=	games
MASTER_SITES=	http://www.earth.li/projectpurple/files/

MAINTAINER=	ports@FreeBSD.org

USE_X_PREFIX=	yes
USE_GNOMENG=	yes
USE_GNOME=	imlib
MAKE_ENV=	GRAPHICPATH="${GRAPHICPATH}" LEVELPATH="${LEVELPATH}"

GRAPHICPATH=	${PREFIX}/share/hex/graphics
LEVELPATH=	${PREFIX}/share/hex/levels

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hex ${PREFIX}/bin
	@${MKDIR} ${GRAPHICPATH}
	${INSTALL_DATA} ${WRKSRC}/graphics/*.png ${GRAPHICPATH}
	@${MKDIR} ${LEVELPATH}
	${INSTALL_DATA} ${WRKSRC}/levels/Level1 ${LEVELPATH}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/hex
.for file in HISTORY README TODO
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/hex
.endfor
.endif

.include <bsd.port.mk>