Date: Mon, 24 Jun 2013 12:34:01 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Cc: jpaetzel@FreeBSD.org Subject: ports/179922: [MAINTAINER] games/fbg2: Trim dependency, add DOCS option Message-ID: <20130624103408.A1B369BF@hub.freebsd.org> Resent-Message-ID: <201306241040.r5OAe0iJ094614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179922 >Category: ports >Synopsis: [MAINTAINER] games/fbg2: Trim dependency, add DOCS option >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:40: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: - Shorten header - Trim dependency for graphics/radius-engine - 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/20130624095401-7736/ >Fix: --- fbg2-0.4_2.patch begins here --- diff -ruN /usr/ports/games/fbg2/Makefile ./Makefile --- /usr/ports/games/fbg2/Makefile 2013-06-02 18:54:31.000000000 +0200 +++ ./Makefile 2013-06-24 11:51:01.000000000 +0200 @@ -1,9 +1,5 @@ -# New Ports collection makefile for: Falling Block Game -# Date created: 2012-05-18 -# Whom: nemysis@gmx.ch -# +# Created by: nemysis <nemysis@gmx.ch> # $FreeBSD: head/games/fbg2/Makefile 303308 2012-08-29 02:18:03Z avilla $ -# PORTNAME= fbg2 PORTVERSION= 0.4 @@ -21,32 +17,36 @@ LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept -BUILD_DEPENDS= ${LOCALBASE}/include/radius.h:${PORTSDIR}/graphics/radius-engine +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 RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip -GNU_CONFIGURE= yes -ALL_TARGET= ${PORTNAME} +USES= pkgconfig 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> --- fbg2-0.4_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130624103408.A1B369BF>