ports/190405: [patch] www/redmine support plugin staging
Kozlov Sergey
kozlov.sergey.404 at gmail.com
Fri May 30 11:10:00 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list