diff options
-rw-r--r-- | games/linux-nwserver/Makefile | 17 | ||||
-rw-r--r-- | games/linux-nwserver/pkg-plist | 1 |
2 files changed, 3 insertions, 15 deletions
diff --git a/games/linux-nwserver/Makefile b/games/linux-nwserver/Makefile index f25ece0b93f3..1d12e58d620f 100644 --- a/games/linux-nwserver/Makefile +++ b/games/linux-nwserver/Makefile @@ -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> diff --git a/games/linux-nwserver/pkg-plist b/games/linux-nwserver/pkg-plist index d7562a847444..ea8c4ce2aa8a 100644 --- a/games/linux-nwserver/pkg-plist +++ b/games/linux-nwserver/pkg-plist @@ -1,4 +1,3 @@ bin/fixinstall bin/nwserver %%PORTDOCS%%%%DOCSDIR%%/readme.linuxserver.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% |