Date: Fri, 30 May 2014 11:08:34 GMT From: Kozlov Sergey <kozlov.sergey.404@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190405: [patch] www/redmine support plugin staging Message-ID: <201405301108.s4UB8YNc062087@cgiserv.freebsd.org> Resent-Message-ID: <201405301110.s4UBA0Pv094710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190405 >Category: ports >Synopsis: [patch] www/redmine support plugin staging >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: Fri May 30 11:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kozlov Sergey >Release: 10.0-RELEASE-p3 >Organization: ARC >Environment: FreeBSD nowhere 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Redmine's bsd.redmine.mk doesn't support staging, so add staging support to it and remove NO_STAGE from my port www/redmine-sidebar_hide >How-To-Repeat: >Fix: Patch attached with submission follows: Index: redmine/bsd.redmine.mk =================================================================== --- redmine/bsd.redmine.mk (revision 355816) +++ redmine/bsd.redmine.mk (working copy) @@ -74,7 +74,12 @@ .endif do-install: +.if defined(NO_STAGE) ${MKDIR} "${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" ${TAR} -C "${WRKSRC}" -cf - --exclude '*.orig' . | ${TAR} -C "${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" -xf - +.else + ${MKDIR} "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" + ${TAR} -C "${WRKSRC}" -cf - --exclude '*.orig' . | ${TAR} -C "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" -xf - +.endif .include <bsd.port.mk> Index: redmine-sidebar_hide/Makefile =================================================================== --- redmine-sidebar_hide/Makefile (revision 355816) +++ redmine-sidebar_hide/Makefile (working copy) @@ -16,6 +16,4 @@ REDMINE_PLUGIN_NAME= sidebar_hide -NO_STAGE= yes - .include "${.CURDIR}/../../www/redmine/bsd.redmine.mk" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405301108.s4UB8YNc062087>