From owner-svn-ports-head@FreeBSD.ORG Wed Nov 6 12:25:53 2013 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 ESMTP id 349ADA90; Wed, 6 Nov 2013 12:25:53 +0000 (UTC) (envelope-from mat@FreeBSD.org) 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 22B6D2B1B; Wed, 6 Nov 2013 12:25:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA6CPq1G066419; Wed, 6 Nov 2013 12:25:52 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA6CPqL4066415; Wed, 6 Nov 2013 12:25:52 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201311061225.rA6CPqL4066415@svn.freebsd.org> From: Mathieu Arnold Date: Wed, 6 Nov 2013 12:25:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332978 - in head/ports-mgmt/porttools: . 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.14 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: Wed, 06 Nov 2013 12:25:53 -0000 Author: mat Date: Wed Nov 6 12:25:51 2013 New Revision: 332978 URL: http://svnweb.freebsd.org/changeset/ports/332978 Log: - Fixup after latest textproc/cdiff update - Convert to staging PR: ports/183188 Submitted by: mat Approved by: maintainer Modified: head/ports-mgmt/porttools/Makefile head/ports-mgmt/porttools/files/patch-Makefile head/ports-mgmt/porttools/files/patch-cmd_diff.in head/ports-mgmt/porttools/pkg-plist Modified: head/ports-mgmt/porttools/Makefile ============================================================================== --- head/ports-mgmt/porttools/Makefile Wed Nov 6 12:25:00 2013 (r332977) +++ head/ports-mgmt/porttools/Makefile Wed Nov 6 12:25:51 2013 (r332978) @@ -3,7 +3,7 @@ PORTNAME= porttools PORTVERSION= 0.99 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= ports-mgmt MASTER_SITES= SF @@ -28,23 +28,12 @@ MAKE_ENV+= PORTREVISION="${PORTREVISION} MAKE_ENV+= PORTEPOCH="${PORTEPOCH}" .endif -MAN1= port.1 -MAN5= porttools.5 - -OPTIONS_DEFINE= NEWFILE +OPTIONS_DEFINE= DOCS NEWFILE OPTIONS_DEFAULT= NEWFILE NEWFILE_DESC= Enable newfile support -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MNEWFILE} -RUN_DEPENDS+= newfile:${PORTSDIR}/devel/newfile -.endif - -.if ${PORT_OPTIONS:MDOCS} -INSTALL_TARGET= install install-docs -.endif +NEWFILE_RUN_DEPENDS= newfile:${PORTSDIR}/devel/newfile +DOCS_INSTALL_TARGET= install install-docs .include Modified: head/ports-mgmt/porttools/files/patch-Makefile ============================================================================== --- head/ports-mgmt/porttools/files/patch-Makefile Wed Nov 6 12:25:00 2013 (r332977) +++ head/ports-mgmt/porttools/files/patch-Makefile Wed Nov 6 12:25:51 2013 (r332978) @@ -1,5 +1,5 @@ --- ./Makefile.orig 2009-09-09 21:59:59.000000000 +0200 -+++ ./Makefile 2011-11-23 23:11:14.000000000 +0100 ++++ ./Makefile 2013-10-22 10:41:23.000000000 +0200 @@ -9,6 +9,15 @@ PORTNAME?= porttools PORTVERSION?= 0.99 @@ -16,7 +16,7 @@ PROGRAMS= port SCRIPTS= cmd_commit cmd_create cmd_diff cmd_fetch cmd_getpr cmd_help \ -@@ -31,8 +40,8 @@ +@@ -31,23 +40,23 @@ .SUFFIXES: .in @@ -27,3 +27,27 @@ inc_header.in ${.IMPSRC} > ${.TARGET} chmod a+x ${.TARGET} + install: ${PROGRAMS} ${SCRIPTS} +- ${BSD_INSTALL_SCRIPT} ${PROGRAMS} ${PREFIX}/bin +- mkdir -p ${DATADIR} +- ${BSD_INSTALL_SCRIPT} ${SCRIPTS} ${DATADIR} +- mkdir -p ${MANPREFIX}/man/man1 +- ${BSD_INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 +- mkdir -p ${MANPREFIX}/man/man5 +- ${BSD_INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5 ++ ${BSD_INSTALL_SCRIPT} ${PROGRAMS} ${DESTDIR}${PREFIX}/bin ++ mkdir -p ${DESTDIR}${DATADIR} ++ ${BSD_INSTALL_SCRIPT} ${SCRIPTS} ${DESTDIR}${DATADIR} ++ mkdir -p ${DESTDIR}${MANPREFIX}/man/man1 ++ ${BSD_INSTALL_MAN} ${MAN1} ${DESTDIR}${MANPREFIX}/man/man1 ++ mkdir -p ${DESTDIR}${MANPREFIX}/man/man5 ++ ${BSD_INSTALL_MAN} ${MAN5} ${DESTDIR}${MANPREFIX}/man/man5 + + install-docs: +- mkdir -p ${DOCSDIR} +- ${BSD_INSTALL_DATA} ${DOCS} ${DOCSDIR} ++ mkdir -p ${DESTDIR}${DOCSDIR} ++ ${BSD_INSTALL_DATA} ${DOCS} ${DESTDIR}${DOCSDIR} + + clean: + rm -rf ${PROGRAMS} ${SCRIPTS} ${DISTNAME}* Modified: head/ports-mgmt/porttools/files/patch-cmd_diff.in ============================================================================== --- head/ports-mgmt/porttools/files/patch-cmd_diff.in Wed Nov 6 12:25:00 2013 (r332977) +++ head/ports-mgmt/porttools/files/patch-cmd_diff.in Wed Nov 6 12:25:51 2013 (r332978) @@ -1,5 +1,5 @@ ---- cmd_diff.in.orig 2009-09-10 04:59:59.000000000 +0900 -+++ cmd_diff.in 2012-12-27 20:13:30.000000000 +0900 +--- cmd_diff.in.orig 2009-09-09 21:59:59.000000000 +0200 ++++ cmd_diff.in 2013-10-22 10:37:13.000000000 +0200 @@ -20,7 +20,7 @@ Usage: port diff [-h] [-d ] -h - Display this usage summary @@ -9,3 +9,12 @@ - against Ports tree in - against original port in EOF +@@ -65,7 +65,7 @@ + [ -n "${DIFF_VIEWER}" ] || DIFF_VIEWER="more" + fi + echo "===> Viewing diff with ${DIFF_VIEWER}" +-${DIFF_VIEWER} ${PATCH} ++${DIFF_VIEWER} < ${PATCH} + + # Cleanup + rm -rf ${TEMPROOT} Modified: head/ports-mgmt/porttools/pkg-plist ============================================================================== --- head/ports-mgmt/porttools/pkg-plist Wed Nov 6 12:25:00 2013 (r332977) +++ head/ports-mgmt/porttools/pkg-plist Wed Nov 6 12:25:51 2013 (r332978) @@ -1,5 +1,7 @@ @comment $FreeBSD$ bin/port +man/man1/port.1.gz +man/man5/porttools.5.gz %%DATADIR%%/cmd_commit %%DATADIR%%/cmd_create %%DATADIR%%/cmd_diff