Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2014 11:58:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375433 - head/games/linux-nwserver
Message-ID:  <201412241158.sBOBwLNm084587@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec 24 11:58:20 2014
New Revision: 375433
URL: https://svnweb.freebsd.org/changeset/ports/375433
QAT: https://qat.redports.org/buildarchive/r375433/

Log:
  - Switch echos to pkg-message
  - Optionize DOCS
  - Drop @dirrm* from plist

Modified:
  head/games/linux-nwserver/Makefile
  head/games/linux-nwserver/pkg-plist

Modified: head/games/linux-nwserver/Makefile
==============================================================================
--- head/games/linux-nwserver/Makefile	Wed Dec 24 11:55:33 2014	(r375432)
+++ head/games/linux-nwserver/Makefile	Wed Dec 24 11:58:20 2014	(r375433)
@@ -18,7 +18,9 @@ USE_LINUX=	yes
 ONLY_FOR_ARCHS=	i386 amd64
 WRKSRC=		${WRKDIR}
 
-.include <bsd.port.options.mk>
+SUB_FILES=	pkg-message
+
+OPTIONS_DEFINE=	DOCS
 
 do-build:
 	${BRANDELF} -t Linux ${WRKDIR}/nwserver
@@ -26,20 +28,7 @@ do-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKDIR}/nwserver ${STAGEDIR}${PREFIX}/bin
-
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${STAGEDIR}${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>

Modified: head/games/linux-nwserver/pkg-plist
==============================================================================
--- head/games/linux-nwserver/pkg-plist	Wed Dec 24 11:55:33 2014	(r375432)
+++ head/games/linux-nwserver/pkg-plist	Wed Dec 24 11:58:20 2014	(r375433)
@@ -1,4 +1,3 @@
 bin/fixinstall
 bin/nwserver
 %%PORTDOCS%%%%DOCSDIR%%/readme.linuxserver.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



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