1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Change maintainer email to @FreeBSD.org

- Change license GPLv2 to BSD
- USES gmake instead of USE_GMAKE
- Add DOCS and Option
- Add Desktop entry file

Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-11-30 20:09:00 +00:00
parent 12fdeaec2f
commit 99ee2b3f13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335345

View File

@ -6,21 +6,32 @@ PORTVERSION= 2.9
CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/bs/
MAINTAINER= nemysis@gmx.ch
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Battleships solitaire game with a color interface
LICENSE= GPLv2
LICENSE= BSD
USES= gmake
MAKE_ARGS= CC="${CC}"
ALL_TARGET= # empty
USE_GMAKE= yes
MAN6= bs.6
PLIST_FILES= bin/bs
PLIST_FILES= bin/bs \
man/man6/bs.6.gz \
share/pixmaps/battleship.png
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Battleships" "${COMMENT}" "battleship" \
"xterm -e ${PORTNAME}" "Game;ArcadeGame;" false
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bs ${PREFIX}/bin
${INSTALL_MAN} ${MAN6:S|^|${WRKSRC}/|} ${MAN6PREFIX}/man/man6
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/battleship.png ${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>