Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 18:52:31 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189966: [patch] Add staging support to www/css-mode.el
Message-ID:  <201405191852.s4JIqVI9078952@cgiserv.freebsd.org>
Resent-Message-ID: <201405191900.s4JJ00Hk063191@freefall.freebsd.org>

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

>Number:         189966
>Category:       ports
>Synopsis:       [patch] Add staging support to www/css-mode.el
>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:   Mon May 19 19: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/css-mode.el.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/css-mode.el/Makefile b/www/css-mode.el/Makefile
index 0c1fab2..0a14ad6 100644
--- a/www/css-mode.el/Makefile
+++ b/www/css-mode.el/Makefile
@@ -28,18 +28,17 @@ DOCSDIR=	${PREFIX}/share/doc/css-mode
 
 PLIST_SUB=	ELISP_SUBDIR=${ELISP_SUBDIR} XELISP_SUBDIR=${XELISP_SUBDIR}
 
-NO_STAGE=	yes
 do-install:
-	@${MKDIR} ${PREFIX}/${ELISP_SUBDIR}
-	${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${PREFIX}/${ELISP_SUBDIR}/
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISP_SUBDIR}
+	${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${ELISP_SUBDIR}/
 # For XEmacs
-	@${MKDIR} ${PREFIX}/${XELISP_SUBDIR}
-	${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${PREFIX}/${XELISP_SUBDIR}/
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${XELISP_SUBDIR}
+	${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${XELISP_SUBDIR}/
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${_DISTDIR}/doco.html ${DOCSDIR}/css-mode-doc.html
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${_DISTDIR}/doco.html ${STAGEDIR}${DOCSDIR}/css-mode-doc.html
 .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?201405191852.s4JIqVI9078952>