diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-24 11:58:20 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-24 11:58:20 +0000 |
commit | 00b55cae8435aa1ffdd62f9df7974bfa160ef03c (patch) | |
tree | 924a5b9a02372146c9f581382cb8588a1535fb35 /games | |
parent | a5ff8ea968553cd1b6a03617ca91c235c800cfd1 (diff) | |
download | ports-00b55cae8435aa1ffdd62f9df7974bfa160ef03c.tar.gz ports-00b55cae8435aa1ffdd62f9df7974bfa160ef03c.zip |
- Switch echos to pkg-message
- Optionize DOCS
- Drop @dirrm* from plist
Notes
Notes:
svn path=/head/; revision=375433
Diffstat (limited to 'games')
-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%% |