- Update WWW

- Switch to options helpers
- Cosmetic fixes

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-08-09 09:01:19 +00:00
parent 90e19321f8
commit 357a43458a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447605
2 changed files with 8 additions and 6 deletions

View File

@ -36,17 +36,19 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '\
s|/usr/local|${LOCALBASE}|g; \
s|lua51|lua-${LUA_VER}|g;' \
${WRKSRC}/SConstruct
s|/usr/local|${LOCALBASE}|g; \
s|lua51|lua-${LUA_VER}|g;' \
${WRKSRC}/SConstruct
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in campaigns graphics intro languages maps patches scripts sounds units
${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

View File

@ -14,4 +14,4 @@ It is possible to play against human opponents over LAN, internet, or
against the computer. Bos Wars successfully runs under Linux, MS Windows,
BSD, and Mac OS X.
WWW: http://www.boswars.org/
WWW: https://www.boswars.org/