diff options
author | aaron <aaron@FreeBSD.org> | 2006-12-30 23:59:56 +0800 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-12-30 23:59:56 +0800 |
commit | 64bd3c40489acc0e50ea87f986c6fb16f000675e (patch) | |
tree | bec065c328e71f9c27d633c32d9205288b7be1df /games | |
parent | c77ffa4f29bb352dde04355df9d4663f3b662ce9 (diff) | |
download | freebsd-ports-gnome-64bd3c40489acc0e50ea87f986c6fb16f000675e.tar.gz freebsd-ports-gnome-64bd3c40489acc0e50ea87f986c6fb16f000675e.tar.zst freebsd-ports-gnome-64bd3c40489acc0e50ea87f986c6fb16f000675e.zip |
Adding port games/mkhexgrid, a fully configurable hex-grid generator.
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/mkhexgrid/Makefile | 40 | ||||
-rw-r--r-- | games/mkhexgrid/distinfo | 3 | ||||
-rw-r--r-- | games/mkhexgrid/pkg-descr | 8 |
4 files changed, 52 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 793ca6a3b4c4..60ffa87c6f45 100644 --- a/games/Makefile +++ b/games/Makefile @@ -444,6 +444,7 @@ SUBDIR += mindguard SUBDIR += mirrormagic SUBDIR += miscom + SUBDIR += mkhexgrid SUBDIR += monkeybubble SUBDIR += monopd SUBDIR += monster-masher diff --git a/games/mkhexgrid/Makefile b/games/mkhexgrid/Makefile new file mode 100644 index 000000000000..b2f20b48a716 --- /dev/null +++ b/games/mkhexgrid/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: mkhexgrid +# Date created: 29 Dec 2006 +# Whom: aaron@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= mkhexgrid +PORTVERSION= 0.1.0 +CATEGORIES= games +MASTER_SITES= http://www.nomic.net/~uckelman/mkhexgrid/releases/ \ + http://aaron.daltons.ca/freebsd/ +EXTRACT_SUFX= .src.tar.gz + +MAINTAINER= aaron@FreeBSD.org +COMMENT= A fully-configurable hex grid generator + +BUILD_DEPENDS= ${LOCALBASE}/include/boost/lexical_cast.hpp:${PORTSDIR}/devel/boost +LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd + +USE_GMAKE= yes + +PORTDOCS= mkhexgrid.html +PLIST_FILES= bin/mkhexgrid + +post-patch: + @${REINPLACE_CMD} -e 's:^LDFLAGS=:LDFLAGS=-L${LOCALBASE}/lib :' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's:^CPPFLAGS=:CPPFLAGS=-I${LOCALBASE}/include :' ${WRKSRC}/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/mkhexgrid ${PREFIX}/bin + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/mkhexgrid.html ${DOCSDIR} + @${ECHO} "Documentation has been installed in ${DOCSDIR}." +.endif + +.include <bsd.port.mk> diff --git a/games/mkhexgrid/distinfo b/games/mkhexgrid/distinfo new file mode 100644 index 000000000000..11e8953f6796 --- /dev/null +++ b/games/mkhexgrid/distinfo @@ -0,0 +1,3 @@ +MD5 (mkhexgrid-0.1.0.src.tar.gz) = b542a24f10ff98968cc9077c2e02dda4 +SHA256 (mkhexgrid-0.1.0.src.tar.gz) = 9387a334852f25b660f2828834e912ad758c820c1eb1628558680595df292e6e +SIZE (mkhexgrid-0.1.0.src.tar.gz) = 29355 diff --git a/games/mkhexgrid/pkg-descr b/games/mkhexgrid/pkg-descr new file mode 100644 index 000000000000..2bd21ab1e8f4 --- /dev/null +++ b/games/mkhexgrid/pkg-descr @@ -0,0 +1,8 @@ +mkhexgrid is a small command-line program which generates hexagonal grids +of the sort used for strategy games. Hex grids can be created as PNG or +SVG images, and as PostScript. Virtually every aspect of the output can be +be adjusted.from grid line thickness and color, to style and size of hex +centers, to the style and position of hex coordinates. mkhexgrid makes it +simple to create whatever hex grid you need. + +WWW: http://www.nomic.net/~uckelman/mkhexgrid/ |