1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/games/freesweep/Makefile
Jason Unovitch 81220d5fb9 games/freesweep: update 0.92 -> 1.0.1
- Transfer MAINTAINER from ports@ to submitter
- Update LICENSE
- Switch from GOOGLE_CODE to USE_GITHUB; use the maintainer's repository
- While here, convert to conditional docs target
- Expand on pkg-descr
- MFH as the original upstream version seg faults upon winning a game and
  the maintainer is now a co-maintainer with the upstream project

PR:		205052
Submitted by:	Randy Westlund <rwestlun@gmail.com> (incoming maintainer)
Reviewed by:	amdmi3 (earlier version)
MFH:		2016Q1
2016-02-14 22:22:39 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= freesweep
PORTVERSION= 1.0.1
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= rwestlun@gmail.com
COMMENT= Minesweeper-style game for text-mode terminals
LICENSE= GPLv2+
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>