Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2013 14:25:08 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311618 - head/games/xvmines
Message-ID:  <201302041425.r14EP8kD063443@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Mon Feb  4 14:25:07 2013
New Revision: 311618
URL: http://svnweb.freebsd.org/changeset/ports/311618

Log:
  - Update MASTER_SITES
  - Support PLIST_FILES
  - Add MAKE_JOBS_SAFE
  - Reformat pkg-descr
  
  PR:		175588
  Submitted by:	Ports Fury

Deleted:
  head/games/xvmines/pkg-plist
Modified:
  head/games/xvmines/Makefile   (contents, props changed)
  head/games/xvmines/pkg-descr   (contents, props changed)

Modified: head/games/xvmines/Makefile
==============================================================================
--- head/games/xvmines/Makefile	Mon Feb  4 14:24:08 2013	(r311617)
+++ head/games/xvmines/Makefile	Mon Feb  4 14:25:07 2013	(r311618)
@@ -1,31 +1,37 @@
-# New ports collection makefile for:	xvmines
-# Date created:				18 March 1998
-# Whom:					Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
 # $FreeBSD$
-#
 
 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>

Modified: head/games/xvmines/pkg-descr
==============================================================================
--- head/games/xvmines/pkg-descr	Mon Feb  4 14:24:08 2013	(r311617)
+++ head/games/xvmines/pkg-descr	Mon Feb  4 14:25:07 2013	(r311618)
@@ -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.



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