mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: mkhexgrid
|
|
# Date created: 29 Dec 2006
|
|
# Whom: aaron@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mkhexgrid
|
|
PORTVERSION= 0.1.1
|
|
PORTREVISION= 1
|
|
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
|
|
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}/doc/mkhexgrid.html ${DOCSDIR}
|
|
@${ECHO} "Documentation has been installed in ${DOCSDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|