Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 14:51:04 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360203 - head/www/sahi
Message-ID:  <201407021451.s62Ep5kG007486@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  2 14:51:04 2014
New Revision: 360203
URL: http://svnweb.freebsd.org/changeset/ports/360203
QAT: https://qat.redports.org/buildarchive/r360203/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/www/sahi/Makefile

Modified: head/www/sahi/Makefile
==============================================================================
--- head/www/sahi/Makefile	Wed Jul  2 14:50:12 2014	(r360202)
+++ head/www/sahi/Makefile	Wed Jul  2 14:51:04 2014	(r360203)
@@ -37,7 +37,6 @@ OPERA_DESC=	Use Opera as default browser
 USES=		dos2unix zip
 DOS2UNIX_GLOB=	linux.xml os.properties sahi.properties
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 SAHI_BUILD=	2011.07.19
@@ -67,20 +66,19 @@ post-patch:
 		| ${XARGS} -0 ${REINPLACE_CMD}
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
+	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 
 post-install:
-	@${CP} ${DATADIR}/config/browser_types/linux.xml ${DATADIR}/userdata/config/browser_types.xml
+	@${CP} ${STAGEDIR}${DATADIR}/config/browser_types/linux.xml ${STAGEDIR}${DATADIR}/userdata/config/browser_types.xml
 .for	d in bin userdata/bin
-	@${CHMOD} ${BINMODE} ${DATADIR}/${d}/*
+	@${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/${d}/*
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
-	@${MV} ${DATADIR}/docs ${DOCSDIR}
+	@${MV} ${STAGEDIR}${DATADIR}/docs ${STAGEDIR}${DOCSDIR}
 .else
-	@${RM} -r ${DATADIR}/docs
+	@${RM} -r ${STAGEDIR}${DATADIR}/docs
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.pre.mk>
 



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