ports/179921: [MAINTAINER] games/avoision: Trim dependencies, add DOCS
nemysis
nemysis at gmx.ch
Mon Jun 24 10:30:00 UTC 2013
>Number: 179921
>Category: ports
>Synopsis: [MAINTAINER] games/avoision: Trim dependencies, add DOCS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 24 10:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013
>Description:
- 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/
>Fix:
--- avoision-1.1_3.patch begins here ---
diff -ruN /usr/ports/games/avoision/Makefile ./Makefile
--- /usr/ports/games/avoision/Makefile 2013-06-02 18:54:27.000000000 +0200
+++ ./Makefile 2013-06-24 12:21:22.000000000 +0200
@@ -1,18 +1,14 @@
-# New Ports collection makefile for: Avoision
-# Date created: 2012-05-17
-# Whom: nemysis at gmx.ch
-#
+# Created by: nemysis <nemysis at gmx.ch>
# $FreeBSD: head/games/avoision/Makefile 303309 2012-08-29 03:02:15Z jgh $
-#
PORTNAME= avoision
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/avsn/
MAINTAINER= nemysis at 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_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>
--- avoision-1.1_3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list