Bug 179921 - [MAINTAINER] games/avoision: Trim dependencies, add DOCS
Summary: [MAINTAINER] games/avoision: Trim dependencies, add DOCS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Daniel Eischen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 11:30 UTC by nemysis
Modified: 2013-07-12 18:40 UTC (History)
1 user (show)

See Also:


Attachments
avoision-1.1_3.patch (1.87 KB, patch)
2013-06-24 11:30 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-06-24 11:30:00 UTC
- 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

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)

How-To-Repeat: 
Build log

https://redports.org/buildarchive/20130624094700-32350/
Comment 1 Daniel Eischen freebsd_committer freebsd_triage 2013-07-11 16:56:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->deischen

I'll take this.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-12 18:34:12 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Daniel Eischen freebsd_committer freebsd_triage 2013-07-12 18:34:27 UTC
State Changed
From-To: open->closed

Patch commited.  Thanks for your contribution!