Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2014 05:19:54 +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: r356585 - head/www/repos-style
Message-ID:  <201406050519.s555Jsmd040077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Jun  5 05:19:54 2014
New Revision: 356585
URL: http://svnweb.freebsd.org/changeset/ports/356585
QAT: https://qat.redports.org/buildarchive/r356585/

Log:
  - Stage support
  
  PR:		190380

Modified:
  head/www/repos-style/Makefile

Modified: head/www/repos-style/Makefile
==============================================================================
--- head/www/repos-style/Makefile	Thu Jun  5 05:18:55 2014	(r356584)
+++ head/www/repos-style/Makefile	Thu Jun  5 05:19:54 2014	(r356585)
@@ -24,20 +24,13 @@ WRKSRC=		${WRKDIR}/repos-web
 SUB_LIST+=	PORTNAME=${PORTNAME}
 SUB_FILES+=	pkg-message
 
-NO_STAGE=	yes
 pre-install:
 # Prevent installation of .orig files by deleting them.
 	@${FIND} ${WRKSRC} -name '*.orig' -delete
 	${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	@(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR})
-	if [ ! -f ${WWWDIR}/open/log/index.php ]; then \
-		${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \
-	fi
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	@(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR})
 
 .include <bsd.port.mk>



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