From owner-svn-ports-head@FreeBSD.ORG Sun Feb 9 18:55:36 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1154E6D7; Sun, 9 Feb 2014 18:55:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D35901C75; Sun, 9 Feb 2014 18:55:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s19ItZX6067032; Sun, 9 Feb 2014 18:55:35 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s19ItZKe067030; Sun, 9 Feb 2014 18:55:35 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201402091855.s19ItZKe067030@svn.freebsd.org> From: Adam Weinberger Date: Sun, 9 Feb 2014 18:55:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343537 - in head/games/freesweep: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 18:55:36 -0000 Author: adamw Date: Sun Feb 9 18:55:35 2014 New Revision: 343537 URL: http://svnweb.freebsd.org/changeset/ports/343537 QAT: https://qat.redports.org/buildarchive/r343537/ Log: Add stage support. Added: head/games/freesweep/files/patch-Makefile.in (contents, props changed) Modified: head/games/freesweep/Makefile Modified: head/games/freesweep/Makefile ============================================================================== --- head/games/freesweep/Makefile Sun Feb 9 18:49:01 2014 (r343536) +++ head/games/freesweep/Makefile Sun Feb 9 18:55:35 2014 (r343537) @@ -12,25 +12,22 @@ COMMENT= Minesweeper-style game for text LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \ --with-scoresdir=${DATADIR} \ --disable-debug-log ALL_TARGET= ${PORTNAME} -MAN6= freesweep.6 PORTDOCS= CHANGES README -PLIST_FILES= bin/freesweep %%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes +PLIST_FILES= bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \ + %%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Added: head/games/freesweep/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freesweep/files/patch-Makefile.in Sun Feb 9 18:55:35 2014 (r343537) @@ -0,0 +1,24 @@ +--- Makefile.in.orig 2003-10-11 16:49:24.000000000 -0400 ++++ Makefile.in 2014-02-09 13:35:36.000000000 -0500 +@@ -17,7 +17,7 @@ + srcdir = @srcdir@ + VPATH = @srcdir@ + +-prefix = @prefix@ ++prefix = $(DESTDIR)@prefix@ + exec_prefix = @exec_prefix@ + #bindir = $(exec_prefix)/bin + bindir = @bindir@ +@@ -61,9 +61,9 @@ + install: $(TARGET) $(TARGET).6 + touch sweeptimes + ./install-sh -c -m 2555 -o root -g games -s $(TARGET) $(bindir)/$(TARGET) +- ./install-sh -c -m 0664 -o root -g games sweeptimes @SCORESDIR@/sweeptimes +- ./install-sh -c -m 0644 -o root -g games sweeprc @PREFSDIR@/sweeprc +- ./install-sh -c -m 0444 -o root -g games $(TARGET).6 @mandir@/man6/$(TARGET).6 ++ ./install-sh -c -m 0664 -o root -g games sweeptimes $(DESTDIR)@SCORESDIR@/sweeptimes ++ ./install-sh -c -m 0644 -o root -g games sweeprc $(DESTDIR)@PREFSDIR@/sweeprc ++ ./install-sh -c -m 0444 -o root -g games $(TARGET).6 $(DESTDIR)@mandir@/man6/$(TARGET).6 + + distclean: + @make sterile