Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2013 05:49:14 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/175588: games/xvmines: Update MASTER_SITES
Message-ID:  <20130126054914.8b15334dfefb7fd81cd07262@yahoo.com>
Resent-Message-ID: <201301252110.r0PLA6I4075122@freefall.freebsd.org>

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

>Number:         175588
>Category:       ports
>Synopsis:       games/xvmines: Update MASTER_SITES
>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:   Fri Jan 25 21:10:06 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Support PLIST_FILES
- Add MAKE_JOBS_SAFE
- Reformat pkg-descr

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xvmines/Makefile games/xvmines/Makefile
--- /usr/ports/games/xvmines/Makefile	2012-11-08 07:17:40.000000000 +0900
+++ games/xvmines/Makefile	2013-01-26 03:21:00.000000000 +0900
@@ -1,31 +1,37 @@
-# New ports collection makefile for:	xvmines
-# Date created:				18 March 1998
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD: head/games/xvmines/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	xvmines
 PORTVERSION=	1.0
 PORTREVISION=	2
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.x.org/R5contrib/
+MASTER_SITES=	XCONTRIB/../R5contrib
 EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple minesweeper game for X Window System
 
-LIB_DEPENDS=	xview.3:${PORTSDIR}/x11-toolkits/xview
+LIB_DEPENDS=	xview:${PORTSDIR}/x11-toolkits/xview
+
+OPTIONS_DEFINE=	DOCS
 
-USE_IMAKE=	yes
 USE_XORG=	x11
-MAN6=		xvmines.6
+USE_IMAKE=	yes
+MAKE_JOBS_SAFE=	yes
+
 MANCOMPRESSED=	no
+MAN6=		xvmines.6
+PORTDOCS=	Copyright
+PLIT_FILES=	bin/xvmines
+
+.include <bsd.port.options.mk>
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xvmines ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/xvmines.man ${PREFIX}/man/man6/xvmines.6
-	@${MKDIR} ${PREFIX}/share/doc/xvmines
-	${INSTALL_DATA} ${WRKSRC}/Copyright ${PREFIX}/share/doc/xvmines
+	${INSTALL_MAN} ${WRKSRC}/xvmines.man ${MAN6PREFIX}/man/man6/xvmines.6
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/xvmines/pkg-descr games/xvmines/pkg-descr
--- /usr/ports/games/xvmines/pkg-descr	2012-11-08 07:17:40.000000000 +0900
+++ games/xvmines/pkg-descr	2013-01-13 18:13:21.000000000 +0900
@@ -1,18 +1,21 @@
-   XVmines is a simple minesweeper game for X Window System.
-   xvmines creates a rectangle on the screen, divided into  equally
-sized cells. Each cell may contain a mine (hence the name xvmines),
-contain a number  indicating  the  number of  mines  present in the 
-8-neighboring cells or be empty.
-   Initially,  all  cells  are  covered  with  tiles. A tile can be
-removed,  uncovering  the  cell  below, by  clicking the left mouse
-button on it. In addition,a cell can be marked as containing a mine
-by clicking the right mouse button on it. Note however that marking
-a cell as containing a mine does not necessarily mean that the cell
-really contains a mine!
-   Clicking  the  middle  mouse  button  on a tile, marks it with a
-question mark, acting as a reminder mechanism. The user can use the
-numbers in the uncovered  cells  to  find  (or sometimes guess ...)
-which cells contain mines and which do not.
-   A game  ends  when  all  cells  not  containing  mines have been 
-uncovered and all cells containing mines have  been marked, or when
-a cell containing a mine is uncovered.
+XVmines is a simple minesweeper game for X Window System.
+
+xvmines creates a rectangle on the screen, divided into equally sized
+cells. Each cell may contain a mine (hence the name xvmines), contain a
+number indicating the number of mines present in the 8-neighboring cells
+or be empty.
+
+Initially, all cells are covered with tiles. A tile can be removed,
+uncovering the cell below, by clicking the left mouse button on it. In
+addition, a cell can be marked as containing a mine by clicking the
+right mouse button on it. Note however that marking a cell as containing
+a mine does not necessarily mean that the cell really contains a mine!
+
+Clicking the middle mouse button on a tile, marks it with a question
+mark, acting as a reminder mechanism. The user can use the numbers in
+the uncovered cells to find (or sometimes guess ...) which cells contain
+mines and which do not.
+
+A game ends when all cells not containing mines have been uncovered and
+all cells containing mines have been marked, or when a cell containing a
+mine is uncovered.
diff -urN /usr/ports/games/xvmines/pkg-plist games/xvmines/pkg-plist
--- /usr/ports/games/xvmines/pkg-plist	2012-11-08 07:17:40.000000000 +0900
+++ games/xvmines/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/xvmines
-share/doc/xvmines/Copyright
-@dirrm share/doc/xvmines
>Release-Note:
>Audit-Trail:
>Unformatted:



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