Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 00:11:10 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190045: [patch] Add staging support to www/encode-explorer
Message-ID:  <201405210011.s4L0BAB8012061@cgiserv.freebsd.org>
Resent-Message-ID: <201405210020.s4L0K04i037843@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190045
>Category:       ports
>Synopsis:       [patch] Add staging support to www/encode-explorer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 00:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/encode-explorer.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/encode-explorer/Makefile b/www/encode-explorer/Makefile
index 011422b..a3e01d6 100644
--- a/www/encode-explorer/Makefile
+++ b/www/encode-explorer/Makefile
@@ -24,7 +24,6 @@ WRKSRC=		${WRKDIR}/${DISTNAME}
 WWWDIR=		${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MEXPERIMENTAL}
@@ -32,13 +31,13 @@ EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-index-php-experimental
 .endif
 
 do-install:
-	${MKDIR} ${WWWDIR}
-	${INSTALL} ${WRKSRC}/index.php ${WWWDIR}
+	${MKDIR} ${STAGEDIR}${WWWDIR}
+	${INSTALL} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${CP} ${WRKSRC}/README.txt ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${CP} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



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