freebsd-ports/games/linux-nwserver/Makefile
Sergey A. Osokin 356fe85446 Update to 1.32, update e-mail address.
Utilize ${DOCSDIR}.

Submitted by:	Igor Pokrovsky <tiamat@comset.net> (maintainer)
PR:		57780
2003-10-09 06:55:44 +00:00

47 lines
1.5 KiB
Makefile

# New ports collection makefile for: linux-nwserver
# Date created: 22 July 2002
# Whom: Igor Pokrovsky <tiamat@comset.net>
#
# $FreeBSD$
#
PORTNAME= nwserver
PORTVERSION= 1.32
CATEGORIES= games linux
MASTER_SITES= http://nwdownloads.bioware.com/neverwinternights/linux/${PORTVERSION:S/.//}/
PKGNAMEPREFIX= linux-
DISTNAME= linuxserver${PORTVERSION:S/.//}
MAINTAINER= tiamat@comset.net
COMMENT= Neverwinter Nights Linux (x86) Dedicated Server
USE_LINUX= yes
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}
# Linux binary should not be stripped by INSTALL_PROGRAM
# because as a side effect it brands the binary as FreeBSD.
STRIP=
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/nwserver ${PREFIX}/bin
.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${DOCSDIR}
.endif
post-install:
@${ECHO_MSG} "*******************************************************************************"
@${ECHO_MSG} "Neverwinter Nights Dedicated Server requires original game data to run."
@${ECHO_MSG} "Consult ${DOCSDIR}/readme.linuxserver.txt"
@${ECHO_MSG} "for more information about required data directories."
@${ECHO_MSG} "From directory, where you will have installed game data you can run:"
@${ECHO_MSG} "${PREFIX}/bin/fixinstall - to check installation"
@${ECHO_MSG} "and ${PREFIX}/bin/nwserver - to start server"
@${ECHO_MSG} "*******************************************************************************"
.include <bsd.port.mk>