1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/seabattle/Makefile
Robert Clausecker a7bca39bce games/seabattle: update to 1.1 and unbreak on FreeBSD 13+
After having sent a number of FreeBSD patches to the author, he
updated the project and incorporated them.  So this is mainly a
patch release.

Port changes:
- remove patches incorporated by upstream
- unbreak build on FreeBSD 13+
- set LICENSE to MIT
- depend on audio/alsa-utils if audio output is desired
- take up maintainership of this unmaintained port

PR:		260633
Reported by:	Robert Clausecker <fuz@fuz.su> (new maintainer)
2021-12-25 11:34:39 +09:00

30 lines
705 B
Makefile

# Created by: Andrey Zakhvatov
PORTNAME= seabattle
DISTVERSIONPREFIX= v
DISTVERSION= 1.1
CATEGORIES= games
MAINTAINER= fuz@fuz.su
COMMENT= Curses based battleship type game
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake ncurses
USE_GITHUB= yes
GH_ACCOUNT= deater
OPTIONS_DEFINE= DOCS ALSA
OPTIONS_DEFAULT= ALSA
ALSA_RUN_DEPENDS= aplay:audio/alsa-utils
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/seabattle ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/seabattle
${INSTALL_DATA} ${WRKSRC}/share/seabattle/*.au ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.historical ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>