Date: Sat, 16 Aug 2014 11:23:29 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365072 - in head/games/bsdtris: . files Message-ID: <201408161123.s7GBNTqH088164@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sat Aug 16 11:23:28 2014 New Revision: 365072 URL: http://svnweb.freebsd.org/changeset/ports/365072 QAT: https://qat.redports.org/buildarchive/r365072/ Log: Stage games/bsdtris Note that scores file moves from $PREFIX/var/games to /var/games PR: 192691 Submitted by: Christian Mangin Improvements: marino Modified: head/games/bsdtris/Makefile head/games/bsdtris/files/patch-Makefile head/games/bsdtris/pkg-plist Modified: head/games/bsdtris/Makefile ============================================================================== --- head/games/bsdtris/Makefile Sat Aug 16 10:05:45 2014 (r365071) +++ head/games/bsdtris/Makefile Sat Aug 16 11:23:28 2014 (r365072) @@ -3,6 +3,7 @@ PORTNAME= bsdtris PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.mavetju.org/download/adopted/ DISTNAME= ${PORTNAME}-01092003 @@ -12,13 +13,7 @@ COMMENT= BSD version of text-based Tetri NO_WRKSUBDIR= yes -MAN6= bsdtris.6 - -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -E "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/pathnames.h -post-install: - ${INSTALL_MAN} ${WRKSRC}/tetris.6 ${PREFIX}/man/man6/bsdtris.6 - .include <bsd.port.mk> Modified: head/games/bsdtris/files/patch-Makefile ============================================================================== --- head/games/bsdtris/files/patch-Makefile Sat Aug 16 10:05:45 2014 (r365071) +++ head/games/bsdtris/files/patch-Makefile Sat Aug 16 11:23:28 2014 (r365072) @@ -1,6 +1,6 @@ ---- Makefile.orig Tue Apr 1 23:23:08 2003 -+++ Makefile Tue Apr 1 23:23:43 2003 -@@ -0,0 +1,26 @@ +--- Makefile.orig 2014-08-16 10:46:48 UTC ++++ Makefile +@@ -0,0 +1,23 @@ +# Makefile for Tetris +# $FreeBSD: /tmp/pcvs/ports/games/bsdtris/files/patch-Makefile,v 1.1 2003-04-02 13:02:40 edwin Exp $ + @@ -18,12 +18,9 @@ + screen.o shapes.o tetris.o + +install: -+ ${INSTALL} -g games -m 2555 tetris ${PREFIX}/bin/bsdtris -+. if !exists(${PREFIX}/var/games/bsdtris.scores) -+ ${MKDIR} ${PREFIX}/var/games -+ ${INSTALL} -g games -m 664 /dev/null \ -+ ${PREFIX}/var/games/bsdtris.scores -+.endif ++ ${BSD_INSTALL_PROGRAM} tetris ${DESTDIR}${PREFIX}/bin/bsdtris ++ ${BSD_INSTALL_MAN} tetris.6 ${DESTDIR}${MANPREFIX}/man/man6/bsdtris.6 ++ ${MKDIR} ${DESTDIR}/var/games + +clean: + rm -f *.o *.core Modified: head/games/bsdtris/pkg-plist ============================================================================== --- head/games/bsdtris/pkg-plist Sat Aug 16 10:05:45 2014 (r365071) +++ head/games/bsdtris/pkg-plist Sat Aug 16 11:23:28 2014 (r365072) @@ -1 +1,6 @@ +@group games bin/bsdtris +@group +man/man6/bsdtris.6.gz +@exec touch /var/games/bsdtris.scores ; chmod 664 /var/games/bsdtris.scores ; chgrp games /var/games/bsdtris.scores +@unexec if test ! -s /var/games/bsdtris.scores; then rm -f /var/games/bsdtris.scores; fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408161123.s7GBNTqH088164>