Date: Sat, 24 Jan 2015 19:53:56 +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: r377818 - in head/games/yahtzee: . files Message-ID: <201501241953.t0OJruq6059030@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Jan 24 19:53:55 2015 New Revision: 377818 URL: https://svnweb.freebsd.org/changeset/ports/377818 QAT: https://qat.redports.org/buildarchive/r377818/ Log: - Move highscore to /var/games, use @sample - Simplify MASTER_SITES Modified: head/games/yahtzee/Makefile head/games/yahtzee/files/patch-Makefile head/games/yahtzee/pkg-plist Modified: head/games/yahtzee/Makefile ============================================================================== --- head/games/yahtzee/Makefile Sat Jan 24 19:51:06 2015 (r377817) +++ head/games/yahtzee/Makefile Sat Jan 24 19:53:55 2015 (r377818) @@ -3,10 +3,9 @@ PORTNAME= yahtzee PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= games/strategy +MASTER_SITES= SUNSITE/games/strategy DISTNAME= ${PORTNAME}-src MAINTAINER= ports@FreeBSD.org @@ -17,7 +16,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/yahtzee ${STAGEDIR}${PREFIX}/bin - @${MKDIR} -m 0755 ${STAGEDIR}${DATADIR} - ${TOUCH} ${STAGEDIR}${DATADIR}/yahtzee.sco + @${MKDIR} -m 0755 ${STAGEDIR}/var/games/yahtzee + ${TOUCH} ${STAGEDIR}/var/games/yahtzee/yahtzee.sco.sample .include <bsd.port.mk> Modified: head/games/yahtzee/files/patch-Makefile ============================================================================== --- head/games/yahtzee/files/patch-Makefile Sat Jan 24 19:51:06 2015 (r377817) +++ head/games/yahtzee/files/patch-Makefile Sat Jan 24 19:53:55 2015 (r377818) @@ -2,7 +2,7 @@ +++ Makefile Wed Nov 8 04:48:42 2000 @@ -1,4 +1,4 @@ -CFLAGS = -+CFLAGS += -DHAS_RENAME -DSCOREDIR=\"$(PREFIX)/share/yahtzee\" ++CFLAGS += -DHAS_RENAME -DSCOREDIR=\"/var/games/yahtzee\" OBJ = computer.o main.o Modified: head/games/yahtzee/pkg-plist ============================================================================== --- head/games/yahtzee/pkg-plist Sat Jan 24 19:51:06 2015 (r377817) +++ head/games/yahtzee/pkg-plist Sat Jan 24 19:53:55 2015 (r377818) @@ -1,8 +1,3 @@ -@group games -@mode 2755 -bin/yahtzee -@mode 664 -%%DATADIR%%/yahtzee.sco -@group -@mode -@dirrm %%DATADIR%% +@(,games,2755) bin/yahtzee +@sample(,games,664) /var/games/yahtzee/yahtzee.sco.sample +@dir(,games,775) /var/games/yahtzee
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501241953.t0OJruq6059030>