summaryrefslogtreecommitdiffstats
path: root/games/mkhexgrid/Makefile
blob: 48b4b8f8d45b6a27a6eaa76d1138efc44b9d7309 (plain)
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:    mkhexgrid
# Date created:         		29 Dec 2006
# Whom:                 		aaron@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	mkhexgrid
PORTVERSION=	0.1.1
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://www.nomic.net/~uckelman/mkhexgrid/releases/ \
		http://aaron.daltons.ca/freebsd/
EXTRACT_SUFX=	.src.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A fully-configurable hex grid generator

BUILD_DEPENDS=	${LOCALBASE}/include/boost/lexical_cast.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd

USE_GMAKE=	yes

PORTDOCS=	mkhexgrid.html
PLIST_FILES=	bin/mkhexgrid

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/mkhexgrid ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/doc/mkhexgrid.html ${DOCSDIR}
	@${ECHO} "Documentation has been installed into ${DOCSDIR}."
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud