diff options
author | Johannes Jost Meixner <xmj@FreeBSD.org> | 2014-04-13 07:51:57 +0000 |
---|---|---|
committer | Johannes Jost Meixner <xmj@FreeBSD.org> | 2014-04-13 07:51:57 +0000 |
commit | 1cdfd8db0921c253dad9deb6073b66a0bdffb00c (patch) | |
tree | 97dfa8c881a2e323e56ca66947463359a7397645 /games/linux-nwserver | |
parent | 9bf361a900f806efb46fe953da12ed4a13913f28 (diff) |
- Stagify
- Allow build on amd64 architecture
PR: ports/187871
Approved by: koobs (mentor)
Notes
Notes:
svn path=/head/; revision=351187
Diffstat (limited to 'games/linux-nwserver')
-rw-r--r-- | games/linux-nwserver/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/games/linux-nwserver/Makefile b/games/linux-nwserver/Makefile index 8aa03935abec..fa20fdbb049f 100644 --- a/games/linux-nwserver/Makefile +++ b/games/linux-nwserver/Makefile @@ -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: |