Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 00:36:18 +0200 (EET)
From:      Johannes Jost Meixner <xmj@chaot.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        apeiron@coitusmentis.info
Subject:   ports/187871: [PATCH] games/linux-nwserver: Stage, amd64
Message-ID:  <12914518141858049546.enqueue@mx12.chaot.net>
Resent-Message-ID: <201403232240.s2NMe2RO054637@freefall.freebsd.org>

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

>Number:         187871
>Category:       ports
>Synopsis:       [PATCH] games/linux-nwserver: Stage, amd64
>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 22:40:02 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
- Allow build on amd64 arch
- Turn DOCS into an option, deprecating NOPORTDOCS

Port maintainer (apeiron@coitusmentis.info) is cc'd.

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

--- linux-nwserver-1.32.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 348896)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nwserver
 PORTVERSION=	1.32
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games linux
 MASTER_SITES=	http://nwdownloads.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/
 PKGNAMEPREFIX=	linux-
@@ -12,21 +12,24 @@
 MAINTAINER=	apeiron@coitusmentis.info
 COMMENT=	Neverwinter Nights Linux (x86) Dedicated Server
 
+OPTIONS_DEFINE=	DOCS
+
 USE_LINUX=	yes
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 WRKSRC=		${WRKDIR}
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-build:
 	${BRANDELF} -t Linux ${WRKDIR}/nwserver
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKDIR}/nwserver ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKDIR}/nwserver ${STAGEDIR}${PREFIX}/bin
 
-.ifndef (NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${STAGEDIR}${DOCSDIR}
 .endif
 
 post-install:
--- linux-nwserver-1.32.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?12914518141858049546.enqueue>