Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 02:13:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393562 - in head/games/xmines: . files
Message-ID:  <201508050213.t752Dsrh052896@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Aug  5 02:13:53 2015
New Revision: 393562
URL: https://svnweb.freebsd.org/changeset/ports/393562

Log:
  - Move scorefile into /var/games
  - Modernize plist

Modified:
  head/games/xmines/Makefile
  head/games/xmines/files/patch-Makefile
  head/games/xmines/pkg-plist

Modified: head/games/xmines/Makefile
==============================================================================
--- head/games/xmines/Makefile	Wed Aug  5 01:59:27 2015	(r393561)
+++ head/games/xmines/Makefile	Wed Aug  5 02:13:53 2015	(r393562)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xmines
 PORTVERSION=	1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	SUNSITE/games/strategy
 DISTNAME=	${PORTNAME}

Modified: head/games/xmines/files/patch-Makefile
==============================================================================
--- head/games/xmines/files/patch-Makefile	Wed Aug  5 01:59:27 2015	(r393561)
+++ head/games/xmines/files/patch-Makefile	Wed Aug  5 02:13:53 2015	(r393562)
@@ -15,7 +15,7 @@
 +INCLUDE = ${LOCALBASE}/include
 +LIBRARY = ${LOCALBASE}/lib
 +BIN = ${PREFIX}/bin
-+SCOREFILES = ${PREFIX}/share/xmines
++SCOREFILES = /var/games
  
  .c.o:
  	$(CC) $(CFLAGS) -I $(INCLUDE) -c $<
@@ -37,5 +37,5 @@
 -	install -g games -o games -m 0664  scores/scores $(SCOREFILES)/xbomb-scores
 -	install -g games -o games -m 2755 xbombs $(BIN) 
 +	mkdir -p ${DESTDIR}$(SCOREFILES)
-+	${INSTALL} -m 0666 scores/scores ${DESTDIR}$(SCOREFILES)/scores
-+	${INSTALL} -s -m 0755 xmines ${DESTDIR}$(BIN)
++	${BSD_INSTALL_DATA} scores/scores ${DESTDIR}$(SCOREFILES)/xmines-scores.sample
++	${BSD_INSTALL_PROGRAM} xmines ${DESTDIR}$(BIN)

Modified: head/games/xmines/pkg-plist
==============================================================================
--- head/games/xmines/pkg-plist	Wed Aug  5 01:59:27 2015	(r393561)
+++ head/games/xmines/pkg-plist	Wed Aug  5 02:13:53 2015	(r393562)
@@ -1,7 +1,2 @@
-@group games
-@owner games
-bin/xmines
-%%DATADIR%%/scores
-@owner
-@group
-@dirrm %%DATADIR%%
+@(,games,2755) bin/xmines
+@sample(,games,664) /var/games/xmines-scores.sample



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