Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 00:13:32 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303303 - head/games/avoision
Message-ID:  <201208290013.q7T0DWiO051309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Wed Aug 29 00:13:31 2012
New Revision: 303303
URL: http://svn.freebsd.org/changeset/ports/303303

Log:
  - adjust dependencies to reflect requirements
  - adopt optionsNG for DOCS
  - while here remove PORTNAME from COMMENT
  
  PR:	170721
  Submitted by:	maintainer, nemysis@gmx.ch

Modified:
  head/games/avoision/Makefile   (contents, props changed)

Modified: head/games/avoision/Makefile
==============================================================================
--- head/games/avoision/Makefile	Tue Aug 28 23:58:10 2012	(r303302)
+++ head/games/avoision/Makefile	Wed Aug 29 00:13:31 2012	(r303303)
@@ -12,7 +12,7 @@ CATEGORIES=	games
 MASTER_SITES=	SF/avsn/
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	Avoision is a simple collect-dots-avoid-blocks game
+COMMENT=	A simple collect-dots-avoid-blocks game
 
 LICENSE=	GPLv2 CCbyNCSA3
 LICENSE_COMB=	dual
@@ -21,11 +21,11 @@ LICENSE_FILE=	${WRKSRC}/License.txt
 LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt
 LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
 
-LIB_DEPENDS=	radius:${PORTSDIR}/graphics/radius-engine \
-		lua-5.1:${PORTSDIR}/lang/lua \
+LIB_DEPENDS=	lua-5.1:${PORTSDIR}/lang/lua \
 		png15:${PORTSDIR}/graphics/png \
 		physfs.1:${PORTSDIR}/devel/physfs
-RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
+BUILD_DEPENDS=	${LOCALBASE}/include/radius.h:${PORTSDIR}/graphics/radius-engine \
+		zip:${PORTSDIR}/archivers/zip
 
 GNU_CONFIGURE=	yes
 ALL_TARGET=	${PORTNAME}
@@ -41,8 +41,10 @@ PLIST_DIRSTRY=	share/applications
 PORTDATA=	*
 PORTDOCS=	ChangeLog
 
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
 .endif



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