From owner-svn-ports-head@FreeBSD.ORG Sun Jun 29 15:58:15 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 7F1562EC; Sun, 29 Jun 2014 15:58:15 +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 5423123C2; Sun, 29 Jun 2014 15:58:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5TFwFCP094814; Sun, 29 Jun 2014 15:58:15 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5TFwEAE094812; Sun, 29 Jun 2014 15:58:14 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406291558.s5TFwEAE094812@svn.freebsd.org> From: "Vanilla I. Shu" Date: Sun, 29 Jun 2014 15:58:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359779 - in head/sysutils/tren: . 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.18 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, 29 Jun 2014 15:58:15 -0000 Author: vanilla Date: Sun Jun 29 15:58:14 2014 New Revision: 359779 URL: http://svnweb.freebsd.org/changeset/ports/359779 QAT: https://qat.redports.org/buildarchive/r359779/ Log: 1: Stagify. 2: use options helper. Approved by: portmgr@ (blanket approval) Added: head/sysutils/tren/files/ head/sysutils/tren/files/patch-Makefile (contents, props changed) Modified: head/sysutils/tren/Makefile Modified: head/sysutils/tren/Makefile ============================================================================== --- head/sysutils/tren/Makefile Sun Jun 29 15:57:17 2014 (r359778) +++ head/sysutils/tren/Makefile Sun Jun 29 15:58:14 2014 (r359779) @@ -10,18 +10,16 @@ MAINTAINER= tren@tundraware.com COMMENT= A Powerful File And Directory Batch Renaming Tool USE_PYTHON= yes - -MAN1= tren.1 -MANCOMPRESSED= yes - -PLIST_FILES= bin/tren.py +PLIST_FILES= bin/tren.py man/man1/tren.1.gz PORTDOCS= WHATSNEW.txt tren-license.txt tren.html tren.pdf tren.ps tren.rst +OPTIONS_DEFINE= DOCS + +.include -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .endif .include Added: head/sysutils/tren/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/tren/files/patch-Makefile Sun Jun 29 15:58:14 2014 (r359779) @@ -0,0 +1,10 @@ +--- Makefile.orig 2014-06-29 23:52:49.319326073 +0800 ++++ Makefile 2014-06-29 23:53:01.269334923 +0800 +@@ -4,5 +4,5 @@ + all: # Do nothing. This is a free-standing Python program. + + install: +- ${BSD_INSTALL_SCRIPT} tren.py ${PREFIX}/bin +- ${BSD_INSTALL_MAN} tren.1.gz ${PREFIX}/man/man1 ++ ${BSD_INSTALL_SCRIPT} tren.py $(DESTDIR)${PREFIX}/bin ++ ${BSD_INSTALL_MAN} tren.1.gz $(DESTDIR)${PREFIX}/man/man1