Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 17:34:05 +0000 (UTC)
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322858 - head/games/avoision
Message-ID:  <201307121734.r6CHY5xr086383@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: deischen
Date: Fri Jul 12 17:34:04 2013
New Revision: 322858
URL: http://svnweb.freebsd.org/changeset/ports/322858

Log:
  From the maintainer:
  
    - Bump portrevision
    - Shorten header
    - Remove leading article from COMMENT
    - Trim dependencies for graphics/radius-engine, archivers/zip
    - Trim PLIST_FILES and PLIST_DIRS
    - Add DOCS Option
  
  PR:		179921
  Submitted by:	nemysis at gmx dot ch

Modified:
  head/games/avoision/Makefile

Modified: head/games/avoision/Makefile
==============================================================================
--- head/games/avoision/Makefile	Fri Jul 12 17:32:04 2013	(r322857)
+++ head/games/avoision/Makefile	Fri Jul 12 17:34:04 2013	(r322858)
@@ -1,18 +1,14 @@
-# New Ports collection makefile for:	Avoision
-# Date created:		2012-05-17
-# Whom:			nemysis@gmx.ch
-#
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD$
-#
 
 PORTNAME=	avoision
 PORTVERSION=	1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	SF/avsn/
 
 MAINTAINER=	nemysis@gmx.ch
-COMMENT=	A simple collect-dots-avoid-blocks game
+COMMENT=	Simple collect-dots-avoid-blocks game
 
 LICENSE=	GPLv2 CCbyNCSA3
 LICENSE_COMB=	dual
@@ -21,32 +17,35 @@ LICENSE_FILE=	${WRKSRC}/License.txt
 LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt
 LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
 
+BUILD_DEPENDS=	${LOCALBASE}/lib/libradius-engine.a:${PORTSDIR}/graphics/radius-engine
 LIB_DEPENDS=	lua-5.1:${PORTSDIR}/lang/lua \
 		png15:${PORTSDIR}/graphics/png \
 		physfs.1:${PORTSDIR}/devel/physfs
-BUILD_DEPENDS=	${LOCALBASE}/include/radius.h:${PORTSDIR}/graphics/radius-engine \
-		zip:${PORTSDIR}/archivers/zip
+RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 
-GNU_CONFIGURE=	yes
-ALL_TARGET=	${PORTNAME}
 USE_SDL=	sdl sound
 USE_GL=		glu
+GNU_CONFIGURE=	yes
+ALL_TARGET=	${PORTNAME}
 MAKE_JOBS_SAFE=	yes
 
 PLIST_FILES=	bin/${PORTNAME} \
 		share/applications/${PORTNAME}.desktop \
-		share/pixmaps/${PORTNAME}.png
+		share/pixmaps/${PORTNAME}.png \
+		%%DATADIR%%/${PORTNAME}.zip
+PLIST_DIRS=	%%DATADIR%%
 PLIST_DIRSTRY=	share/applications
 
-PORTDATA=	*
 PORTDOCS=	ChangeLog
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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