Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 07:51:57 +0000 (UTC)
From:      Johannes Jost Meixner <xmj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351187 - head/games/linux-nwserver
Message-ID:  <201404130751.s3D7pvPK013643@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: xmj
Date: Sun Apr 13 07:51:57 2014
New Revision: 351187
URL: http://svnweb.freebsd.org/changeset/ports/351187
QAT: https://qat.redports.org/buildarchive/r351187/

Log:
  - Stagify
  - Allow build on amd64 architecture
  
  PR:	ports/187871
  Approved by:	koobs (mentor)

Modified:
  head/games/linux-nwserver/Makefile

Modified: head/games/linux-nwserver/Makefile
==============================================================================
--- head/games/linux-nwserver/Makefile	Sun Apr 13 07:49:41 2014	(r351186)
+++ head/games/linux-nwserver/Makefile	Sun Apr 13 07:51:57 2014	(r351187)
@@ -3,30 +3,33 @@
 
 PORTNAME=	nwserver
 PORTVERSION=	1.32
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games linux
 MASTER_SITES=	http://nwdownloads.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/
 PKGNAMEPREFIX=	linux-
 DISTNAME=	linuxserver${PORTVERSION:S/.//}
 
-MAINTAINER=	apeiron@coitusmentis.info
-COMMENT=	Neverwinter Nights Linux (x86) Dedicated Server
+MAINTAINER=	ports@freebsd.org
+COMMENT=	Neverwinter Nights Linux 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404130751.s3D7pvPK013643>