summaryrefslogtreecommitdiffstats
path: root/games/mkhexgrid/Makefile
blob: 1ea77bf4c7e1097cec56b7ad35060bcf537cda78 (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
# Created by: aaron@FreeBSD.org
# $FreeBSD$

PORTNAME=	mkhexgrid
PORTVERSION=	0.1.1
PORTREVISION=	11
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=	Fully-configurable hex grid generator

LICENSE=	GPLv2

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

USES=		gmake

PORTDOCS=	mkhexgrid.html
PLIST_FILES=	bin/mkhexgrid

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mkhexgrid ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/mkhexgrid.html ${STAGEDIR}${DOCSDIR}

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