Date: Sat, 13 Sep 2014 14:57:18 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368106 - in head/games/ladder: . files Message-ID: <201409131457.s8DEvIh2061705@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sat Sep 13 14:57:18 2014 New Revision: 368106 URL: http://svnweb.freebsd.org/changeset/ports/368106 QAT: https://qat.redports.org/buildarchive/r368106/ Log: Allow staging as a regular user Modified: head/games/ladder/Makefile head/games/ladder/files/patch-Makefile head/games/ladder/pkg-plist Modified: head/games/ladder/Makefile ============================================================================== --- head/games/ladder/Makefile Sat Sep 13 14:48:18 2014 (r368105) +++ head/games/ladder/Makefile Sat Sep 13 14:57:18 2014 (r368106) @@ -3,20 +3,18 @@ PORTNAME= ladder PORTVERSION= 1.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.srv.net/~kth/ \ ftp://ftp.42.org/pub/unix/games/ -DISTFILES= ladder.tar +DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= The old "ladder" game RESTRICTED= possible copyright problems ? +USES= tar NO_WRKSUBDIR= true -EXTRACT_CMD= ${TAR} -EXTRACT_BEFORE_ARGS= -xf -EXTRACT_AFTER_ARGS= # empty .include <bsd.port.mk> Modified: head/games/ladder/files/patch-Makefile ============================================================================== --- head/games/ladder/files/patch-Makefile Sat Sep 13 14:48:18 2014 (r368105) +++ head/games/ladder/files/patch-Makefile Sat Sep 13 14:57:18 2014 (r368106) @@ -27,7 +27,7 @@ +all: $(TARGET) + +install: -+ install -c -s -o root -g games -m 2555 ladder $(DESTDIR)${PREFIX}/bin ++ $(BSD_INSTALL_PROGRAM) ladder $(DESTDIR)${PREFIX}/bin + # ladder.c: ladder.m4 Modified: head/games/ladder/pkg-plist ============================================================================== --- head/games/ladder/pkg-plist Sat Sep 13 14:48:18 2014 (r368105) +++ head/games/ladder/pkg-plist Sat Sep 13 14:57:18 2014 (r368106) @@ -1,2 +1,2 @@ -bin/ladder -@unexec if [ -f /var/games/ladder.scores ] ; then rm /var/games/ladder.scores; fi +@(,games,2555) bin/ladder +@rmtry /var/games/ladder.scores
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409131457.s8DEvIh2061705>