Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 19:38:50 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332402 - in head/ports-mgmt/portdowngrade: . files
Message-ID:  <201311011938.rA1Jco7I021965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Fri Nov  1 19:38:50 2013
New Revision: 332402
URL: http://svnweb.freebsd.org/changeset/ports/332402

Log:
  Warn on changed behaviour: checks out to $(pwd).
  
  While here, stagify
  
  Submitted by:	Torfinn Ingolfsen

Modified:
  head/ports-mgmt/portdowngrade/Makefile
  head/ports-mgmt/portdowngrade/files/portdowngrade

Modified: head/ports-mgmt/portdowngrade/Makefile
==============================================================================
--- head/ports-mgmt/portdowngrade/Makefile	Fri Nov  1 18:52:03 2013	(r332401)
+++ head/ports-mgmt/portdowngrade/Makefile	Fri Nov  1 19:38:50 2013	(r332402)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	portdowngrade
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# empty
 DISTFILES=	# none
@@ -15,8 +15,7 @@ RUN_DEPENDS=	svn:${PORTSDIR}/devel/subve
 NO_BUILD=	yes
 PLIST_FILES=	sbin/portdowngrade
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${PREFIX}/sbin/
+	${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/
 
 .include <bsd.port.mk>

Modified: head/ports-mgmt/portdowngrade/files/portdowngrade
==============================================================================
--- head/ports-mgmt/portdowngrade/files/portdowngrade	Fri Nov  1 18:52:03 2013	(r332401)
+++ head/ports-mgmt/portdowngrade/files/portdowngrade	Fri Nov  1 19:38:50 2013	(r332402)
@@ -105,7 +105,7 @@ NULL)
 	<<EOF cat
 
 Choose a port origin (directory) from the list
-above, and then run $0 category/port
+above, and then run ${0##*/} category/port
 
 EOF
 	exit 0
@@ -152,6 +152,10 @@ NULL)
 		<<EOF cat
 You should be done-- now cd into ${destination} and you can run
 # make deinstall install clean
+
+Please note that ${0##*/} no longer modifies the ports tree; the
+checked out port is at
+$(pwd)/${destination}
 EOF
 		;;
 	true)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311011938.rA1Jco7I021965>