svn commit: r393562 - in head/games/xmines: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Aug 5 02:13:55 UTC 2015


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 @@
- at group games
- at owner games
-bin/xmines
-%%DATADIR%%/scores
- at owner
- at group
- at dirrm %%DATADIR%%
+@(,games,2755) bin/xmines
+ at sample(,games,664) /var/games/xmines-scores.sample


More information about the svn-ports-head mailing list