Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 14:46:27 +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: r342715 - head/german/wordpress
Message-ID:  <201402051446.s15EkRSr082436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Feb  5 14:46:27 2014
New Revision: 342715
URL: http://svnweb.freebsd.org/changeset/ports/342715
QAT: https://qat.redports.org/buildarchive/r342715/

Log:
  - Stage support

Modified:
  head/german/wordpress/Makefile

Modified: head/german/wordpress/Makefile
==============================================================================
--- head/german/wordpress/Makefile	Wed Feb  5 14:37:24 2014	(r342714)
+++ head/german/wordpress/Makefile	Wed Feb  5 14:46:27 2014	(r342715)
@@ -27,7 +27,6 @@ PORTDOCS=	license.txt readme.html
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 pre-everything::
 	@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
 	@${ECHO_CMD} ""
@@ -43,15 +42,12 @@ pre-install:
 .include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/
-	${CP} -R ${WRKSRC}/ ${WWWDIR}/
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+	${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/
+	${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 
 post-install:
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>



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