From owner-svn-ports-all@FreeBSD.ORG Sun Jun 29 15:25:12 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 90C11A76; Sun, 29 Jun 2014 15:25:12 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63F2D21A0; Sun, 29 Jun 2014 15:25:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5TFPCJF080732; Sun, 29 Jun 2014 15:25:12 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5TFPCEp080728; Sun, 29 Jun 2014 15:25:12 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406291525.s5TFPCEp080728@svn.freebsd.org> From: "Vanilla I. Shu" Date: Sun, 29 Jun 2014 15:25:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359774 - in head/sysutils/tbku: . 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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2014 15:25:12 -0000 Author: vanilla Date: Sun Jun 29 15:25:11 2014 New Revision: 359774 URL: http://svnweb.freebsd.org/changeset/ports/359774 QAT: https://qat.redports.org/buildarchive/r359774/ Log: 1: Stagify. 2: use options helper to handle PORTDOCS. Approved by: portmgr@ (blanket approval) Added: head/sysutils/tbku/files/ head/sysutils/tbku/files/patch-Makefile (contents, props changed) Modified: head/sysutils/tbku/Makefile Modified: head/sysutils/tbku/Makefile ============================================================================== --- head/sysutils/tbku/Makefile Sun Jun 29 15:21:20 2014 (r359773) +++ head/sysutils/tbku/Makefile Sun Jun 29 15:25:11 2014 (r359774) @@ -9,16 +9,19 @@ MASTER_SITES= http://www.tundraware.com/ MAINTAINER= tbku@tundraware.com COMMENT= A Tool For Incremental And Imaging Backups -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include + post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in WHATSNEW.txt tbku-license.txt tbku.html tbku.pdf tbku.ps tbku.txt \ Imaging-FreeBSD-With-tbku.txt Imaging-FreeBSD-With-tbku.html \ Imaging-FreeBSD-With-tbku.pdf Imaging-FreeBSD-With-tbku.ps \ Imaging-SUSE-Linux-With-tbku.txt Imaging-SUSE-Linux-With-tbku.html \ Imaging-SUSE-Linux-With-tbku.pdf Imaging-SUSE-Linux-With-tbku.ps - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif Added: head/sysutils/tbku/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/tbku/files/patch-Makefile Sun Jun 29 15:25:11 2014 (r359774) @@ -0,0 +1,12 @@ +--- Makefile.orig 2014-06-29 23:22:47.157452107 +0800 ++++ Makefile 2014-06-29 23:23:00.688449516 +0800 +@@ -2,7 +2,7 @@ + # $Id: Makefile,v 1.102 2008/03/19 23:05:08 tundra Exp $ + + install: +- ${BSD_INSTALL_SCRIPT} tbku ${PREFIX}/bin +- ${BSD_INSTALL_MAN} tbku.1.gz ${PREFIX}/man/cat1 ++ ${BSD_INSTALL_SCRIPT} tbku $(DESTDIR)${PREFIX}/bin ++ ${BSD_INSTALL_MAN} tbku.1.gz $(DESTDIR)${PREFIX}/man/cat1 + + all: # Nothing to do here