Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2011 03:21:52 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159446: Update port: games/freesweep
Message-ID:  <20110804032152.e467c4cc.tkato432@yahoo.com>
Resent-Message-ID: <201108031840.p73IeLvY075668@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159446
>Category:       ports
>Synopsis:       Update port: games/freesweep
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 18:40:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PLIST_FILES

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/freesweep/Makefile games/freesweep/Makefile
--- /usr/ports/games/freesweep/Makefile	2011-08-03 15:32:00.000000000 +0900
+++ games/freesweep/Makefile	2011-08-03 15:56:11.000000000 +0900
@@ -6,33 +6,35 @@
 #
 
 PORTNAME=	freesweep
-PORTVERSION=	0.90
-PORTREVISION=	1
+PORTVERSION=	0.92
 CATEGORIES=	games
-MASTER_SITES=	http://www.upl.cs.wisc.edu/~hartmann/sweep/
+MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Minesweeper-style game for text-mode terminals
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2011-09-01
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-prefsdir=${DATADIR} \
-		--with-scoresdir=${DATADIR}\
+		--with-scoresdir=${DATADIR} \
 		--disable-debug-log
-CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
-		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-ALL_TARGET=	# empty
+ALL_TARGET=	${PORTNAME}
+MAKE_JOBS_SAFE=	yes
 
 MAN6=		freesweep.6
+PORTDOCS=	CHANGES README
+PLIST_FILES=	bin/freesweep %%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes
+PLIST_DIRS=	%%DATADIR%%
 
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/README ${DOCSDIR}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/freesweep/distinfo games/freesweep/distinfo
--- /usr/ports/games/freesweep/distinfo	2011-07-04 02:03:08.000000000 +0900
+++ games/freesweep/distinfo	2011-07-29 03:13:41.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (freesweep-0.90.tar.gz) = d5cc33c07c523460295c3ba296fcf7b08049f469ff4f70672067492720949586
-SIZE (freesweep-0.90.tar.gz) = 87169
+SHA256 (freesweep-0.92.tar.gz) = 519c7405c131bd62db7534855fbb92b9cfcf511ded2bf4d2b94f1abaf86aa698
+SIZE (freesweep-0.92.tar.gz) = 87353
diff -urN /usr/ports/games/freesweep/pkg-descr games/freesweep/pkg-descr
--- /usr/ports/games/freesweep/pkg-descr	2011-08-03 15:32:00.000000000 +0900
+++ games/freesweep/pkg-descr	2011-07-29 03:19:57.000000000 +0900
@@ -1,2 +1,4 @@
-Minesweeper-type game for text-mode terminals. Features
-include boards up to 1024x1024 and saving and loading the boards.
+Minesweeper-type game for text-mode terminals. Features include boards
+up to 1024x1024 and saving and loading the boards.
+
+WWW: http://code.google.com/p/freesweep/
diff -urN /usr/ports/games/freesweep/pkg-plist games/freesweep/pkg-plist
--- /usr/ports/games/freesweep/pkg-plist	2003-11-12 20:22:48.000000000 +0900
+++ games/freesweep/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,7 +0,0 @@
-bin/freesweep
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%DATADIR%%/sweeprc
-%%DATADIR%%/sweeptimes
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110804032152.e467c4cc.tkato432>