ports/189966: [patch] Add staging support to www/css-mode.el
Joseph Benden
joe at thrallingpenguin.com
Mon May 19 19:00:00 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list