svn commit: r303303 - head/games/avoision

Jason Helfman jgh at FreeBSD.org
Wed Aug 29 00:13:32 UTC 2012


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 at 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 at 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



More information about the svn-ports-all mailing list