ports/190045: [patch] Add staging support to www/encode-explorer
Joseph Benden
joe at thrallingpenguin.com
Wed May 21 00:20:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list