Date: Sun, 25 May 2014 19:59:20 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190213: [patch] Add staging support to www/lilurl Message-ID: <201405251959.s4PJxK4K032753@cgiserv.freebsd.org> Resent-Message-ID: <201405252000.s4PK00EL072335@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190213 >Category: ports >Synopsis: [patch] Add staging support to www/lilurl >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: Sun May 25 20:00: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/lilurl. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/lilurl/Makefile b/www/lilurl/Makefile index 236a697..7e29849 100644 --- a/www/lilurl/Makefile +++ b/www/lilurl/Makefile @@ -19,7 +19,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message PLIST= ${WRKDIR}/pkg-plist -NO_STAGE= yes .include <bsd.port.pre.mk> post-extract: @@ -33,9 +32,9 @@ pre-install: && ${ECHO_CMD} @dirrm ${LILURL_DIR} >> ${PLIST} do-install: - ${MKDIR} ${PREFIX}/${LILURL_DIR} - @${CP} -R ${WRKSRC}/ ${PREFIX}/${LILURL_DIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${LILURL_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${LILURL_DIR} + @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${LILURL_DIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${LILURL_DIR} post-install: @${SED} -e 's,%%PREFIX%%,${PREFIX},; s,%%LILURL_DIR%%,${LILURL_DIR},g' \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405251959.s4PJxK4K032753>