Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 05:10:03 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356289 - in head/www/reportmagic: . files
Message-ID:  <201406030510.s535A37B046124@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Tue Jun  3 05:10:03 2014
New Revision: 356289
URL: http://svnweb.freebsd.org/changeset/ports/356289
QAT: https://qat.redports.org/buildarchive/r356289/

Log:
  - Stage support
  
  PR:		190379

Modified:
  head/www/reportmagic/Makefile
  head/www/reportmagic/files/patch-aa

Modified: head/www/reportmagic/Makefile
==============================================================================
--- head/www/reportmagic/Makefile	Tue Jun  3 05:09:23 2014	(r356288)
+++ head/www/reportmagic/Makefile	Tue Jun  3 05:10:03 2014	(r356289)
@@ -24,9 +24,8 @@ RUN_DEPENDS=	analog:${PORTSDIR}/www/anal
 WRKSRC=		${WRKDIR}/${DISTNAME}
 NO_BUILD=	YES
 
-NO_STAGE=	yes
 do-install:
-	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Install.PL -no_modules
+	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${PERL5} Install.PL -no_modules
 
 post-install:
 	@${ECHO}

Modified: head/www/reportmagic/files/patch-aa
==============================================================================
--- head/www/reportmagic/files/patch-aa	Tue Jun  3 05:09:23 2014	(r356288)
+++ head/www/reportmagic/files/patch-aa	Tue Jun  3 05:10:03 2014	(r356289)
@@ -1,18 +1,18 @@
---- Install.PL.orig	Wed Apr  2 09:21:00 2003
-+++ Install.PL	Fri Apr  4 19:59:41 2003
+--- Install.PL.orig	2003-04-02 02:21:00.000000000 -0700
++++ Install.PL	2014-05-29 11:23:05.000000000 -0700
 @@ -59,13 +59,13 @@
  # example to use the version number in your path. 
  # Make sure this remains in single quotes.
  #
 -$DEST = '/usr/local/bin/rmagic-$(VERSION)/';
-+$DEST = "$ENV{'PREFIX'}/reportmagic/";
++$DEST = "$ENV{'DESTDIR'}$ENV{'PREFIX'}/reportmagic/";
   
  #
  # Where do you want documentation to be installed?
  # You can use string concatenation, as in this example, 
  # to install the docs below the program.
 -$DOC = $DEST . 'docs/';
-+$DOC = "$ENV{'PREFIX'}/share/doc/reportmagic/";
++$DOC = "$ENV{'DESTDIR'}$ENV{'PREFIX'}/share/doc/reportmagic/";
  
  
  #



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