Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 19:08:49 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332759 - head/games/mkhexgrid
Message-ID:  <201311041908.rA4J8nrw098491@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Nov  4 19:08:49 2013
New Revision: 332759
URL: http://svnweb.freebsd.org/changeset/ports/332759

Log:
  - Add stage support
  - Add DOCS option
  - Convert USE_GMAKE to USES
  - Convert LIB_DEPENDS to new syntax
  - Remove indefinite article from COMMENT

Modified:
  head/games/mkhexgrid/Makefile

Modified: head/games/mkhexgrid/Makefile
==============================================================================
--- head/games/mkhexgrid/Makefile	Mon Nov  4 18:54:32 2013	(r332758)
+++ head/games/mkhexgrid/Makefile	Mon Nov  4 19:08:49 2013	(r332759)
@@ -10,25 +10,23 @@ MASTER_SITES=	http://www.nomic.net/~ucke
 EXTRACT_SUFX=	.src.tar.gz
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A fully-configurable hex grid generator
+COMMENT=	Fully-configurable hex grid generator
 
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/lexical_cast.hpp:${PORTSDIR}/devel/boost-libs
-LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
 
-USE_GMAKE=	yes
+USES=		gmake
 
 PORTDOCS=	mkhexgrid.html
 PLIST_FILES=	bin/mkhexgrid
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 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
+	${INSTALL_PROGRAM} ${WRKSRC}/mkhexgrid ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/mkhexgrid.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311041908.rA4J8nrw098491>