Bug 175588 - games/xvmines: Update MASTER_SITES
Summary: games/xvmines: Update MASTER_SITES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 21:10 UTC by tkato432
Modified: 2013-02-04 14:30 UTC (History)
0 users

See Also:


Attachments
file.diff (4.08 KB, patch)
2013-01-25 21:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-01-25 21:10:06 UTC
- Update MASTER_SITES
- Support PLIST_FILES
- Add MAKE_JOBS_SAFE
- Reformat pkg-descr

Remove file:
pkg-plist
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-25 21:12:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

araujo@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-02-04 14:25:17 UTC
Responsible Changed
From-To: araujo->miwi

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-02-04 14:25:21 UTC
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.
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2013-02-04 14:25:22 UTC
State Changed
From-To: open->closed

Committed. Thanks!