Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 00:56:57 +0200 (EET)
From:      Johannes Jost Meixner <xmj@chaot.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187873: [PATCH] games/linux-worldofgoo: Stage
Message-ID:  <2731915287777139587.enqueue@mx12.chaot.net>
Resent-Message-ID: <201403232320.s2NNK0UC068448@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187873
>Category:       ports
>Synopsis:       [PATCH] games/linux-worldofgoo: Stage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 23 23:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Jost Meixner
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
Goldener Grund OUe
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #6: Wed Mar 19 11:02:48 EET 2014
>Description:
- Stagify
- Make DOCS into an option, deprecating NOPORTDOCS

Generated with FreeBSD Port Tools 1.00.2014.03.22 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- linux-worldofgoo-1.41.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 348896)
+++ Makefile	(working copy)
@@ -21,6 +21,8 @@
 DATADIR=	${PREFIX}/share/WorldOfGoo
 DOCSDIR=	${PREFIX}/share/doc/WorldOfGoo
 
+OPTIONS_DEFINE=	DOCS
+
 .if defined(WITH_NVIDIA_GL)
 RUN_DEPENDS=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
 USE_LINUX_APPS+=	libglu
@@ -28,7 +30,6 @@
 USE_LINUX_APPS+=	dri
 .endif
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"
@@ -52,12 +53,12 @@
 		>> ${WRKSRC}/WorldOfGoo
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${TARGET_BIN} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/WorldOfGoo ${PREFIX}/bin
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "properties res" ${DATADIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${TARGET_BIN} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/WorldOfGoo ${STAGEDIR}${PREFIX}/bin
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "properties res" ${STAGEDIR}${DATADIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
--- linux-worldofgoo-1.41.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?2731915287777139587.enqueue>