1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/games/freesweep/Makefile
2021-04-06 16:31:07 +02:00

48 lines
1.2 KiB
Makefile

# Created by: Andrey Zakhvatov
PORTNAME= freesweep
PORTVERSION= 1.0.1
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= rwestlun@gmail.com
COMMENT= Minesweeper-style game for text-mode terminals
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_13= ld: error: duplicate symbol: CharSet
BROKEN_FreeBSD_14= ld: error: duplicate symbol: CharSet
USE_GITHUB= yes
GH_ACCOUNT= rwestlund
USES= gmake ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \
--with-scoresdir=${DATADIR} \
--disable-debug-log
ALL_TARGET= ${PORTNAME}
PORTDOCS= README.md
PLIST_FILES= "@(,games,2555) bin/${PORTNAME}" man/man6/${PORTNAME}.6.gz \
%%DATADIR%%/sweeprc "@(,games,0664) %%DATADIR%%/sweeptimes"
PLIST_DIRS= %%DATADIR%%
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freesweep ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${TOUCH} ${STAGEDIR}${DATADIR}/sweeptimes
${INSTALL_DATA} ${WRKSRC}/sweeprc ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${STAGEDIR}${PREFIX}/man/man6
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>