mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
games/freesweep: update to 1.0.2
Update to 1.0.2 and while we are here: - make portlint happy - move scores file to hier(7) directory - fix plist issues and move plist to a plist file - remove --disable-debug-log which had the opposite effect - pass maintainership to fuz@fuz.su as requested by previous maintainer Upstream fixes: - always use "%s"-style format for printf()-style functions - fix build with gcc 10 PR: 260233
This commit is contained in:
parent
975c082fd1
commit
f98f36ad53
@ -1,40 +1,35 @@
|
||||
# Created by: Andrey Zakhvatov
|
||||
|
||||
PORTNAME= freesweep
|
||||
PORTVERSION= 1.0.1
|
||||
PORTVERSION= 1.0.2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= games
|
||||
|
||||
MAINTAINER= rwestlun@gmail.com
|
||||
MAINTAINER= fuz@fuz.su
|
||||
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
|
||||
|
||||
USES= gmake ncurses
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rwestlund
|
||||
|
||||
USES= gmake ncurses
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \
|
||||
--with-scoresdir=${DATADIR} \
|
||||
--disable-debug-log
|
||||
--with-scoresdir=/var/games
|
||||
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
MAKE_ARGS= VERSION='"${PORTVERSION}"'
|
||||
|
||||
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
|
||||
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}/var/games
|
||||
${TOUCH} ${STAGEDIR}/var/games/sweeptimes.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/sweeprc ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${STAGEDIR}${PREFIX}/man/man6
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (rwestlund-freesweep-v1.0.1_GH0.tar.gz) = f2b21fef3f547a5b8d663bf3bf9a0c74ad643d9b4043d170c29aa25248705350
|
||||
SIZE (rwestlund-freesweep-v1.0.1_GH0.tar.gz) = 93966
|
||||
TIMESTAMP = 1638919526
|
||||
SHA256 (rwestlund-freesweep-v1.0.2_GH0.tar.gz) = ec9318eec04f8a7ce20c230620f830a17bcf02d8e161866750dfb0c89ff8fe72
|
||||
SIZE (rwestlund-freesweep-v1.0.2_GH0.tar.gz) = 93986
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- config.h.in.orig Wed Nov 12 04:24:48 2003
|
||||
+++ config.h.in Wed Nov 12 04:25:07 2003
|
||||
--- config.h.in.orig 2016-02-14 22:00:30 UTC
|
||||
+++ config.h.in
|
||||
@@ -25,7 +25,7 @@
|
||||
#undef SCORESDIR
|
||||
|
||||
|
4
games/freesweep/pkg-plist
Normal file
4
games/freesweep/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
@(,games,2555) bin/freesweep
|
||||
man/man6/freesweep.6.gz
|
||||
%%DATADIR%%/sweeprc
|
||||
@sample(,games,0664) /var/games/sweeptimes.sample
|
Loading…
Reference in New Issue
Block a user